summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-11-03 12:25:08 +0000
committerJacob Schatz <jschatz1@gmail.com>2016-11-21 21:01:45 -0500
commit08dd831f02daeeefedf65302a9a9575733943357 (patch)
treeec767d0b89dbc94d5e97d3ebe3256a851cdfc5b6
parentf9750b4912c6f0e4c7b0b7d213f95223d5d1a593 (diff)
downloadgitlab-ce-08dd831f02daeeefedf65302a9a9575733943357.tar.gz
Fixed the active branch selected indicator
-rw-r--r--app/assets/javascripts/project.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/project.js b/app/assets/javascripts/project.js
index e7db0620848..04e18098544 100644
--- a/app/assets/javascripts/project.js
+++ b/app/assets/javascripts/project.js
@@ -90,7 +90,7 @@
} else {
var link = refLink.cloneNode(false);
- if (ref.name === selected) {
+ if (ref === selected) {
link.className = 'is-active';
}