git://git.onelab.eu
/
unfold.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cosmetic
[unfold.git]
/
unfold
/
static
/
js
/
unfold-helper.js
diff --git
a/unfold/static/js/unfold-helper.js
b/unfold/static/js/unfold-helper.js
index
f5adb1b
..
7248567
100644
(file)
--- a/
unfold/static/js/unfold-helper.js
+++ b/
unfold/static/js/unfold-helper.js
@@
-34,7
+34,7
@@
var unfold = {
},
escape_id: function(id) {
- if(
typeof id != 'undefined'
){
+ if(
id !== undefined
){
return id.replace( /(:|\.|\[|\])/g, "\\$1" );
}else{
return "undefined-id";