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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tatuya Kamada
gitlab-ce
Commits
19c0bf27
Commit
19c0bf27
authored
Sep 10, 2015
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplify syntax highlighting of new notes
parent
4e54b823
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
app/assets/javascripts/notes.js.coffee
app/assets/javascripts/notes.js.coffee
+3
-2
No files found.
app/assets/javascripts/notes.js.coffee
View file @
19c0bf27
...
@@ -122,8 +122,9 @@ class @Notes
...
@@ -122,8 +122,9 @@ class @Notes
# or skip if rendered
# or skip if rendered
if
@
isNewNote
(
note
)
if
@
isNewNote
(
note
)
@
note_ids
.
push
(
note
.
id
)
@
note_ids
.
push
(
note
.
id
)
$
(
'ul.main-notes-list'
).
append
(
note
.
html
)
$
(
'ul.main-notes-list'
).
$
(
'.js-syntax-highlight'
).
syntaxHighlight
()
append
(
note
.
html
).
syntaxHighlight
()
@
initTaskList
()
@
initTaskList
()
###
###
...
...
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