fix for note duplication in recent notes

This commit is contained in:
azivner
2017-09-06 21:11:19 -04:00
parent 465c9e56eb
commit b6007a25e8
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ $(document).bind('keydown', 'alt+q', function() {
recentNotesSelectBox.find('option').remove();
// remove the current note
let recNotes = recentNotes.filter(note => note !== globalNote.detail.note_id);
let recNotes = globalRecentNotes.filter(note => note !== globalNote.detail.note_id);
$.each(recNotes, function(key, valueNoteId) {
let noteTitle = getFullName(valueNoteId);