fixed typo in selector 🙈
This commit is contained in:
parent
6ab1c7d737
commit
2dfc8d0eff
2 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
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 @@
|
||||||
.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
|
||||||
|
|
Loading…
Reference in a new issue