1
0
mirror of https://github.com/owncloud/bookmarks.git synced 2025-03-02 02:29:25 +01:00

removing console error in safari for bookmarks

This commit is contained in:
Bartek Przybylski 2012-02-03 21:37:09 +01:00
parent 5298331e4e
commit 217180c507

View File

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