From 08dd831f02daeeefedf65302a9a9575733943357 Mon Sep 17 00:00:00 2001 From: Phil Hughes Date: Thu, 3 Nov 2016 12:25:08 +0000 Subject: Fixed the active branch selected indicator --- app/assets/javascripts/project.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'; } -- cgit v1.2.1