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
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
0deec938
Commit
0deec938
authored
Jul 04, 2016
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Double to single quotes
parent
7e1c91e0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
app/assets/javascripts/notes.js.coffee
app/assets/javascripts/notes.js.coffee
+1
-1
No files found.
app/assets/javascripts/notes.js.coffee
View file @
0deec938
...
@@ -114,7 +114,7 @@ class @Notes
...
@@ -114,7 +114,7 @@ class @Notes
# Cancel creating diff note or editing any note when ESCAPE is hit
# Cancel creating diff note or editing any note when ESCAPE is hit
if
e
.
which
is
27
if
e
.
which
is
27
discussionNoteForm
=
$textarea
.
closest
(
".js-discussion-note-form"
)
discussionNoteForm
=
$textarea
.
closest
(
'.js-discussion-note-form'
)
if
discussionNoteForm
.
length
if
discussionNoteForm
.
length
if
$textarea
.
val
()
isnt
''
if
$textarea
.
val
()
isnt
''
return
unless
confirm
(
'Are you sure you want to cancel creating this comment?'
)
return
unless
confirm
(
'Are you sure you want to cancel creating this comment?'
)
...
...
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