Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
2dfc8d0e
Commit
2dfc8d0e
authored
Jun 19, 2017
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed typo in selector
🙈
parent
6ab1c7d7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
app/assets/javascripts/experimental_flags.js
app/assets/javascripts/experimental_flags.js
+1
-1
app/views/profiles/preferences/show.html.haml
app/views/profiles/preferences/show.html.haml
+2
-2
No files found.
app/assets/javascripts/experimental_flags.js
View file @
2dfc8d0e
import
Cookies
from
'
js-cookie
'
;
import
Cookies
from
'
js-cookie
'
;
export
default
()
=>
{
export
default
()
=>
{
$
(
'
.js-exp
ire
ment-feature-toggle
'
).
on
(
'
change
'
,
(
e
)
=>
{
$
(
'
.js-exp
eri
ment-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
,
{
...
...
app/views/profiles/preferences/show.html.haml
View file @
2dfc8d0e
...
@@ -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-exp
ire
ment-feature-toggle
{
type:
"radio"
,
value:
"false"
,
name:
"new_nav"
,
checked:
!
show_new_nav?
}
%input
.js-exp
eri
ment-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-exp
ire
ment-feature-toggle
{
type:
"radio"
,
value:
"true"
,
name:
"new_nav"
,
checked:
show_new_nav?
}
%input
.js-exp
eri
ment-feature-toggle
{
type:
"radio"
,
value:
"true"
,
name:
"new_nav"
,
checked:
show_new_nav?
}
New
New
.col-sm-12
.col-sm-12
%hr
%hr
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment