]> source.dussan.org Git - nextcloud-server.git/commitdiff
Remove scroll to bookmarks_menu, no longer existent and the bookmark controls are...
authorMichael Gapczynski <GapczynskiM@gmail.com>
Mon, 14 May 2012 01:10:07 +0000 (21:10 -0400)
committerMichael Gapczynski <GapczynskiM@gmail.com>
Mon, 14 May 2012 01:10:27 +0000 (21:10 -0400)
apps/bookmarks/js/bookmarks.js

index 5032aa5f50c5a8d7ab02895f8009d17e3c31aff4..a746cf437bf9d209cee4b5debee629b2984801b8 100644 (file)
@@ -122,11 +122,8 @@ function showBookmark(event) {
        if ($('.bookmarks_add').css('display') == 'none') {
                $('.bookmarks_add').slideToggle();
        }
-       $('html, body').animate({
-      scrollTop: ($('.bookmarks_menu'))?$('.bookmarks_menu').offset().top:0
-               }, 500);
-
 }
+
 function replaceQueryString(url,param,value) {
     var re = new RegExp("([?|&])" + param + "=.*?(&|$)","i");
     if (url.match(re))