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:
parent
5298331e4e
commit
217180c507
@ -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);
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user