mirror of
https://github.com/owncloud/bookmarks.git
synced 2024-12-11 12:24:10 +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:
parent
58a4859ed3
commit
54dcc61123
@ -122,11 +122,8 @@ function showBookmark(event) {
|
|||||||
if ($('.bookmarks_add').css('display') == 'none') {
|
if ($('.bookmarks_add').css('display') == 'none') {
|
||||||
$('.bookmarks_add').slideToggle();
|
$('.bookmarks_add').slideToggle();
|
||||||
}
|
}
|
||||||
$('html, body').animate({
|
|
||||||
scrollTop: ($('.bookmarks_menu'))?$('.bookmarks_menu').offset().top:0
|
|
||||||
}, 500);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function replaceQueryString(url,param,value) {
|
function replaceQueryString(url,param,value) {
|
||||||
var re = new RegExp("([?|&])" + param + "=.*?(&|$)","i");
|
var re = new RegExp("([?|&])" + param + "=.*?(&|$)","i");
|
||||||
if (url.match(re))
|
if (url.match(re))
|
||||||
|
Loading…
Reference in New Issue
Block a user