Scroll the page to the top if clicking the serverinfo bar
This commit is contained in:
parent
23c428dbca
commit
f525acf3d7
@ -3669,6 +3669,18 @@ $(function () {
|
||||
}
|
||||
});
|
||||
|
||||
/**
|
||||
* Scrolls the page to the top if clicking the serverinfo bar
|
||||
*/
|
||||
$(function () {
|
||||
$(document).delegate("#serverinfo", "click", function () {
|
||||
$('html, body').animate({scrollTop: 0}, 'fast');
|
||||
});
|
||||
$(document).delegate("#serverinfo > *", "click", function (e) {
|
||||
e.stopPropagation();
|
||||
});
|
||||
});
|
||||
|
||||
/**
|
||||
* Watches checkboxes in a form to set the checkall box accordingly
|
||||
*/
|
||||
|
||||
Loading…
Reference in New Issue
Block a user