removing console error in safari for bookmarks

This commit is contained in:
Bartek Przybylski 2012-02-03 21:37:09 +01:00
parent ab31a890b6
commit ee01d1a81d

View file

@ -137,7 +137,7 @@ function showBookmark(event) {
$('.bookmarks_add').slideToggle();
}
$('html, body').animate({
scrollTop: $('.bookmarks_menu').offset().top
scrollTop: ($('.bookmarks_menu'))?$('.bookmarks_menu').offset().top:0
}, 500);
}