1
0
mirror of https://github.com/owncloud/bookmarks.git synced 2024-12-02 06:24:11 +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();
}
$('html, body').animate({
scrollTop: $('.bookmarks_menu').offset().top
scrollTop: ($('.bookmarks_menu'))?$('.bookmarks_menu').offset().top:0
}, 500);
}