Commit 662f5edd authored by Phil Hughes's avatar Phil Hughes Committed by Douwe Maan

Fixed tabs

parent a8927a75
...@@ -470,10 +470,7 @@ class @Notes ...@@ -470,10 +470,7 @@ class @Notes
notes = note.closest(".notes") notes = note.closest(".notes")
if DiffNotesApp? if DiffNotesApp?
ref = DiffNotesApp.$refs["#{noteId}"] ref = DiffNotesApp.$refs["#{noteId}"]?.$destroy(true)
if ref?
ref.$destroy(true)
# check if this is the last note for this line # check if this is the last note for this line
if notes.find(".note").length is 1 if notes.find(".note").length is 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment