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
This commit is contained in:
commit
81dba76b9d
1 changed files with 5 additions and 5 deletions
|
@ -85,9 +85,8 @@ window.Build = (function () {
|
|||
if (!this.hasBeenScrolled) {
|
||||
this.scrollToBottom();
|
||||
}
|
||||
});
|
||||
|
||||
this.verifyTopPosition();
|
||||
})
|
||||
.then(() => this.verifyTopPosition());
|
||||
}
|
||||
|
||||
Build.prototype.canScroll = function () {
|
||||
|
@ -176,7 +175,7 @@ window.Build = (function () {
|
|||
}
|
||||
|
||||
if ($flashError.length) {
|
||||
topPostion += $flashError.outerHeight();
|
||||
topPostion += $flashError.outerHeight() + prependTopDefault;
|
||||
}
|
||||
|
||||
this.$buildTrace.css({
|
||||
|
@ -234,7 +233,8 @@ window.Build = (function () {
|
|||
if (!this.hasBeenScrolled) {
|
||||
this.scrollToBottom();
|
||||
}
|
||||
});
|
||||
})
|
||||
.then(() => this.verifyTopPosition());
|
||||
}, 4000);
|
||||
} else {
|
||||
this.$buildRefreshAnimation.remove();
|
||||
|
|
Loading…
Reference in a new issue