Skip to content
Snippets Groups Projects
Commit 81dba76b authored by Phil Hughes's avatar Phil Hughes
Browse files

Merge branch '34461-top-banner-job-master' into 'master'

Only verifies top position after the request has finished to account for errors

See merge request !12559
parents 4a9ffb23 49b74772
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -85,9 +85,8 @@ window.Build = (function () {
if (!this.hasBeenScrolled) {
this.scrollToBottom();
}
});
this.verifyTopPosition();
})
.then(() => this.verifyTopPosition());
}
 
Build.prototype.canScroll = function () {
Loading
Loading
@@ -176,7 +175,7 @@ window.Build = (function () {
}
 
if ($flashError.length) {
topPostion += $flashError.outerHeight();
topPostion += $flashError.outerHeight() + prependTopDefault;
}
 
this.$buildTrace.css({
Loading
Loading
@@ -234,7 +233,8 @@ window.Build = (function () {
if (!this.hasBeenScrolled) {
this.scrollToBottom();
}
});
})
.then(() => this.verifyTopPosition());
}, 4000);
} else {
this.$buildRefreshAnimation.remove();
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment