Fixed tabs

This commit is contained in:
Phil Hughes 2016-07-04 09:03:01 +01:00 committed by Douwe Maan
parent a8927a75b0
commit 662f5edd36
2 changed files with 2 additions and 5 deletions

View File

@ -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

View File

@ -390,7 +390,7 @@ ul.notes {
border-radius: 2px; border-radius: 2px;
.btn { .btn {
margin-right: 10px; margin-right: 10px;
} }
} }