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