summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/ci
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2015-10-23 11:40:57 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2015-10-23 11:45:45 +0200
commit127836dd541ce0ecd4976d002d97b3e9e57f4947 (patch)
tree2b45f554466aca0419ed3bf069abb7bb62c8e4b7 /app/assets/javascripts/ci
parent0e73d7b6af77e2191da2c8fea7232bc8d4a4bbe4 (diff)
downloadgitlab-ce-127836dd541ce0ecd4976d002d97b3e9e57f4947.tar.gz
Fix small CI UI regressions
Diffstat (limited to 'app/assets/javascripts/ci')
-rw-r--r--app/assets/javascripts/ci/build.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/ci/build.coffee b/app/assets/javascripts/ci/build.coffee
index 93385b32a13..44d5ddb7d95 100644
--- a/app/assets/javascripts/ci/build.coffee
+++ b/app/assets/javascripts/ci/build.coffee
@@ -31,7 +31,7 @@ class CiBuild
$('#build-trace code').html build.trace_html
$('#build-trace code').append '<i class="fa fa-refresh fa-spin"/>'
@checkAutoscroll()
- else
+ else if build.status != build_status
Turbolinks.visit build_url
, 4000