Merge pull request #1036 from Robbt/fix-rabbitmq-install
if the screen is small enough to have a scrollbar always go to the top
This commit is contained in:
commit
faf2cb05aa
@ -127,6 +127,7 @@ function submitForm(e, obj) {
|
||||
e.preventDefault();
|
||||
var d = $(e.target).serializeArray();
|
||||
addOverlay();
|
||||
$(".viewport").scrollTop(0);
|
||||
// Append .promise().done() rather than using a
|
||||
// callback to avoid call duplication
|
||||
$("#overlay, #loadingImage").fadeIn(500).promise().done(function() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user