diff options
author | Phil Hughes <me@iamphill.com> | 2017-06-19 17:01:18 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-06-21 14:45:23 +0100 |
commit | 2dfc8d0eff9ea84899e6b8f13534c103e6d286ff (patch) | |
tree | cc52aca5e17340830cc4a2b6331fbff5d70c740d /app | |
parent | 6ab1c7d737535eafc7009e29bcfca1e967f3f68c (diff) | |
download | gitlab-ce-2dfc8d0eff9ea84899e6b8f13534c103e6d286ff.tar.gz |
fixed typo in selector :see_no_evil:
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/javascripts/experimental_flags.js | 2 | ||||
-rw-r--r-- | app/views/profiles/preferences/show.html.haml | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/app/assets/javascripts/experimental_flags.js b/app/assets/javascripts/experimental_flags.js index 5564df25159..dbd3843cef7 100644 --- a/app/assets/javascripts/experimental_flags.js +++ b/app/assets/javascripts/experimental_flags.js @@ -1,7 +1,7 @@ import Cookies from 'js-cookie'; export default () => { - $('.js-expirement-feature-toggle').on('change', (e) => { + $('.js-experiment-feature-toggle').on('change', (e) => { const el = e.target; Cookies.set(el.name, el.value, { diff --git a/app/views/profiles/preferences/show.html.haml b/app/views/profiles/preferences/show.html.haml index 8a6dc4a12a8..e25d36222f7 100644 --- a/app/views/profiles/preferences/show.html.haml +++ b/app/views/profiles/preferences/show.html.haml @@ -27,11 +27,11 @@ .col-lg-9.syntax-theme = label_tag do .preview= image_tag "old_nav.png" - %input.js-expirement-feature-toggle{ type: "radio", value: "false", name: "new_nav", checked: !show_new_nav? } + %input.js-experiment-feature-toggle{ type: "radio", value: "false", name: "new_nav", checked: !show_new_nav? } Old = label_tag do .preview= image_tag "new_nav.png" - %input.js-expirement-feature-toggle{ type: "radio", value: "true", name: "new_nav", checked: show_new_nav? } + %input.js-experiment-feature-toggle{ type: "radio", value: "true", name: "new_nav", checked: show_new_nav? } New .col-sm-12 %hr |