diff options
-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 |