Bookmark Changes and sidebar-right bookmark fix.

Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
This commit is contained in:
Philip M. Hofer (Frumph) 2009-12-01 13:04:01 -08:00
commit e7505fa6c2
3 changed files with 33 additions and 33 deletions

View File

@ -8,7 +8,7 @@ var button_images = {
};
var BookmarkInfo = Class.create({
'default': {
'def': {
'permalink': false
},
'initialize': function() {
@ -21,7 +21,7 @@ var BookmarkInfo = Class.create({
var bookmark_info = this.jar.get('bookmark-info');
if ((typeof(bookmark_info) != 'object') || (bookmark_info == null)) {
bookmark_info = this.default;
bookmark_info = this.def;
}
return bookmark_info;
@ -36,6 +36,7 @@ Event.observe(window, 'load', function() {
var bookmark_info = new BookmarkInfo();
var info = bookmark_info.read();
if ($('comic-bookmark-holder')) {
var hrefs = {};
$$('#comic-bookmark-holder a').each(function(a) {
var name = $w(a.className).shift();
@ -67,4 +68,5 @@ Event.observe(window, 'load', function() {
Event.observe(hrefs['goto-tag'], 'click', function(e) {
if (hrefs['goto-tag'].href == "#") { Event.stop(e); }
});
}
});

View File

@ -32,5 +32,3 @@ class BookmarkWidget extends WP_Widget {
<?php
}
}
?>