fix js error
This commit is contained in:
parent
af30e9353c
commit
2d251358f1
|
@ -8,7 +8,7 @@ var button_images = {
|
||||||
};
|
};
|
||||||
|
|
||||||
var BookmarkInfo = Class.create({
|
var BookmarkInfo = Class.create({
|
||||||
'default': {
|
'def': {
|
||||||
'permalink': false
|
'permalink': false
|
||||||
},
|
},
|
||||||
'initialize': function() {
|
'initialize': function() {
|
||||||
|
@ -21,7 +21,7 @@ var BookmarkInfo = Class.create({
|
||||||
var bookmark_info = this.jar.get('bookmark-info');
|
var bookmark_info = this.jar.get('bookmark-info');
|
||||||
|
|
||||||
if ((typeof(bookmark_info) != 'object') || (bookmark_info == null)) {
|
if ((typeof(bookmark_info) != 'object') || (bookmark_info == null)) {
|
||||||
bookmark_info = this.default;
|
bookmark_info = this.def;
|
||||||
}
|
}
|
||||||
|
|
||||||
return bookmark_info;
|
return bookmark_info;
|
||||||
|
|
Loading…
Reference in New Issue