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
f62d7d26
Commit
f62d7d26
authored
Apr 04, 2016
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed console.log from notes
parent
1f508334
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
app/assets/javascripts/notes.js.coffee
app/assets/javascripts/notes.js.coffee
+0
-3
No files found.
app/assets/javascripts/notes.js.coffee
View file @
f62d7d26
...
@@ -65,8 +65,6 @@ class @Notes
...
@@ -65,8 +65,6 @@ class @Notes
# add diff note
# add diff note
$
(
document
).
on
"click"
,
".js-add-diff-note-button"
,
@
addDiffNote
$
(
document
).
on
"click"
,
".js-add-diff-note-button"
,
@
addDiffNote
$
(
document
).
on
"mouseover"
,
".js-add-diff-note-button"
,
->
console
.
log
$
(
this
).
data
(
'line-code'
)
# hide diff note form
# hide diff note form
$
(
document
).
on
"click"
,
".js-close-discussion-note-form"
,
@
cancelDiscussionForm
$
(
document
).
on
"click"
,
".js-close-discussion-note-form"
,
@
cancelDiscussionForm
...
@@ -505,7 +503,6 @@ class @Notes
...
@@ -505,7 +503,6 @@ class @Notes
addDiffNote
:
(
e
)
=>
addDiffNote
:
(
e
)
=>
e
.
preventDefault
()
e
.
preventDefault
()
$link
=
$
(
e
.
currentTarget
)
$link
=
$
(
e
.
currentTarget
)
console
.
log
$link
.
data
(
'line-code'
)
row
=
$link
.
closest
(
"tr"
)
row
=
$link
.
closest
(
"tr"
)
nextRow
=
row
.
next
()
nextRow
=
row
.
next
()
hasNotes
=
nextRow
.
is
(
".notes_holder"
)
hasNotes
=
nextRow
.
is
(
".notes_holder"
)
...
...
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