Commit 2dfc8d0e authored by Phil Hughes's avatar Phil Hughes

fixed typo in selector 🙈

parent 6ab1c7d7
import Cookies from 'js-cookie'; import Cookies from 'js-cookie';
export default () => { export default () => {
$('.js-expirement-feature-toggle').on('change', (e) => { $('.js-experiment-feature-toggle').on('change', (e) => {
const el = e.target; const el = e.target;
Cookies.set(el.name, el.value, { Cookies.set(el.name, el.value, {
......
...@@ -27,11 +27,11 @@ ...@@ -27,11 +27,11 @@
.col-lg-9.syntax-theme .col-lg-9.syntax-theme
= label_tag do = label_tag do
.preview= image_tag "old_nav.png" .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 Old
= label_tag do = label_tag do
.preview= image_tag "new_nav.png" .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 New
.col-sm-12 .col-sm-12
%hr %hr
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment