1
0
mirror of https://github.com/owncloud/bookmarks.git synced 2024-12-02 06:24:11 +01:00

Remove scroll to bookmarks_menu, no longer existent and the bookmark controls are always visible at the top anyways

This commit is contained in:
Michael Gapczynski 2012-05-13 21:10:07 -04:00
parent 58a4859ed3
commit 54dcc61123

View 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))