diff options
author | Michael Gapczynski <GapczynskiM@gmail.com> | 2012-05-13 21:10:07 -0400 |
---|---|---|
committer | Michael Gapczynski <GapczynskiM@gmail.com> | 2012-05-13 21:10:27 -0400 |
commit | 6d37f9b951e0938efa44570bd5741f5eb80bc11e (patch) | |
tree | b353943dc1fb248951b7b9764ad133a57a9a0b50 | |
parent | e7c106d91e9970b95061eaa2812a0d0c5be72526 (diff) | |
download | nextcloud-server-6d37f9b951e0938efa44570bd5741f5eb80bc11e.tar.gz nextcloud-server-6d37f9b951e0938efa44570bd5741f5eb80bc11e.zip |
Remove scroll to bookmarks_menu, no longer existent and the bookmark controls are always visible at the top anyways
-rw-r--r-- | apps/bookmarks/js/bookmarks.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/apps/bookmarks/js/bookmarks.js b/apps/bookmarks/js/bookmarks.js index 5032aa5f50c..a746cf437bf 100644 --- a/apps/bookmarks/js/bookmarks.js +++ b/apps/bookmarks/js/bookmarks.js @@ -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)) |