summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/ci
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2015-10-21 12:34:09 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2015-10-21 12:34:25 +0200
commitc21d46c29ffe2547cb454c2658fa9644a19f1dd8 (patch)
treeb74edde34e631d900d9d564b86880e3e0c785996 /app/assets/javascripts/ci
parentd25b50fda63e830cb2c87281bba064b71185e712 (diff)
downloadgitlab-ce-c21d46c29ffe2547cb454c2658fa9644a19f1dd8.tar.gz
Fix build trace updatingfix-build-trace-updating
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 c30859b484b..93385b32a13 100644
--- a/app/assets/javascripts/ci/build.coffee
+++ b/app/assets/javascripts/ci/build.coffee
@@ -22,7 +22,7 @@ class CiBuild
# Only valid for runnig build when output changes during time
#
CiBuild.interval = setInterval =>
- if window.location.href is build_url
+ if window.location.href.split("#").first() is build_url
$.ajax
url: build_url
dataType: "json"