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

Fixed tabs

parent a8927a75
......@@ -470,10 +470,7 @@ class @Notes
notes = note.closest(".notes")
if DiffNotesApp?
ref = DiffNotesApp.$refs["#{noteId}"]
if ref?
ref.$destroy(true)
ref = DiffNotesApp.$refs["#{noteId}"]?.$destroy(true)
# check if this is the last note for this line
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