removing console error in safari for bookmarks
This commit is contained in:
parent
ab31a890b6
commit
ee01d1a81d
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue