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:
Kyle Robbertze 2020-05-15 15:05:50 +02:00 committed by GitHub
commit faf2cb05aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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() {