Skip to content
Snippets Groups Projects
Commit ee01d1a8 authored by Bartek Przybylski's avatar Bartek Przybylski
Browse files

removing console error in safari for bookmarks

parent ab31a890
Branches
No related tags found
No related merge requests found
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment