summaryrefslogtreecommitdiff
path: root/app/assets
diff options
context:
space:
mode:
authorSean McGivern <sean@gitlab.com>2017-07-07 16:10:33 +0100
committerSean McGivern <sean@gitlab.com>2017-07-07 16:10:33 +0100
commitc179f507ee0731d26135c39f0198194968769151 (patch)
tree155085ef1d3a9f281bd0af63bade328d683efac7 /app/assets
parentb8c4d5e0f552dc9986883bd9c8783c7f43f125ce (diff)
downloadgitlab-ce-c179f507ee0731d26135c39f0198194968769151.tar.gz
Fix performance bar cookie
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/javascripts/shortcuts.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/shortcuts.js b/app/assets/javascripts/shortcuts.js
index a4a7f3fa944..49d980212d6 100644
--- a/app/assets/javascripts/shortcuts.js
+++ b/app/assets/javascripts/shortcuts.js
@@ -62,7 +62,7 @@ import findAndFollowLink from './shortcuts_dashboard_navigation';
if (Cookies.get(performanceBarCookieName) === 'true') {
Cookies.remove(performanceBarCookieName, { path: '/' });
} else {
- Cookies.set(performanceBarCookieName, true, { path: '/' });
+ Cookies.set(performanceBarCookieName, 'true', { path: '/' });
}
gl.utils.refreshCurrentPage();
};