Hide Scroll Top for failed build

This commit is contained in:
Kushal Pandya 2016-12-23 18:55:49 +05:30
parent 5c0f25410c
commit c21df973b0

View file

@ -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)
});