Commit 29c64545 authored by Fatih Acet's avatar Fatih Acet

Merge branch '26040-hide-scroll-top' into 'master'

Hide Scroll Top button for failed Build page

Closes #26040

See merge request !8295
parents e10f19fd b5d6d107
...@@ -92,8 +92,8 @@ ...@@ -92,8 +92,8 @@
success: function(buildData) { success: function(buildData) {
$('.js-build-output').html(buildData.trace_html); $('.js-build-output').html(buildData.trace_html);
if (removeRefreshStatuses.indexOf(buildData.status) >= 0) { if (removeRefreshStatuses.indexOf(buildData.status) >= 0) {
this.initScrollMonitor(); this.$buildRefreshAnimation.remove();
return this.$buildRefreshAnimation.remove(); return this.initScrollMonitor();
} }
}.bind(this) }.bind(this)
}); });
......
---
title: Hide Scroll Top button for failed build page
merge_request: 8295
author:
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment