diff options
author | Kushal Pandya <kushal@gitlab.com> | 2016-12-23 18:55:49 +0530 |
---|---|---|
committer | Kushal Pandya <kushal@gitlab.com> | 2016-12-23 18:55:49 +0530 |
commit | c21df973b0ffc1559ddef37fe63f41b80ca90788 (patch) | |
tree | 1b104444e250e4690c9fb2bdc7f3604d8c48297a /app/assets/javascripts/build.js | |
parent | 5c0f25410cb2b94642d03361565372ceb5e14c00 (diff) | |
download | gitlab-ce-c21df973b0ffc1559ddef37fe63f41b80ca90788.tar.gz |
Hide Scroll Top for failed build
Diffstat (limited to 'app/assets/javascripts/build.js')
-rw-r--r-- | app/assets/javascripts/build.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/build.js b/app/assets/javascripts/build.js index 5e449170cd3..bc13c46443a 100644 --- a/app/assets/javascripts/build.js +++ b/app/assets/javascripts/build.js @@ -92,8 +92,8 @@ success: function(buildData) { $('.js-build-output').html(buildData.trace_html); if (removeRefreshStatuses.indexOf(buildData.status) >= 0) { - this.initScrollMonitor(); - return this.$buildRefreshAnimation.remove(); + this.$buildRefreshAnimation.remove(); + return this.initScrollMonitor(); } }.bind(this) }); |