summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/main.js
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2019-05-20 13:29:58 +0100
committerFilipa Lacerda <filipa@gitlab.com>2019-05-20 13:30:40 +0100
commit5d3747c39ac7418b0539e0794ddc0450c0452334 (patch)
treed93d44cef83df0683ee02c2b06c510f768aa3b4a /app/assets/javascripts/main.js
parent801309308e677e724c772fddb1b99b0012453395 (diff)
downloadgitlab-ce-5d3747c39ac7418b0539e0794ddc0450c0452334.tar.gz
Next badge must be visible when canary flag is truefl-fix-next-flag-for-good
Diffstat (limited to 'app/assets/javascripts/main.js')
-rw-r--r--app/assets/javascripts/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/main.js b/app/assets/javascripts/main.js
index 1af21715551..9f30a989295 100644
--- a/app/assets/javascripts/main.js
+++ b/app/assets/javascripts/main.js
@@ -148,7 +148,7 @@ function deferredInitialisation() {
const canaryBadge = document.querySelector('.js-canary-badge');
const canaryLink = document.querySelector('.js-canary-link');
if (canaryBadge) {
- canaryBadge.classList.add('hidden');
+ canaryBadge.classList.remove('hidden');
}
if (canaryLink) {
canaryLink.classList.add('hidden');