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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue