mirror of
https://github.com/zadam/trilium.git
synced 2025-10-28 08:46:43 +01:00
adding notes to recent list only after some time period (currently 1500ms)
This commit is contained in:
@@ -26,7 +26,7 @@ $(document).bind('keypress', 'alt+q', function() {
|
||||
recentNotesSelectBox.find('option').remove();
|
||||
|
||||
// remove the current note
|
||||
let recNotes = recentNotes.slice(1);
|
||||
let recNotes = recentNotes.filter(note => note.noteId !== globalNote.detail.note_id);
|
||||
|
||||
$.each(recNotes, function(key, value) {
|
||||
let option = $("<option></option>")
|
||||
|
||||
Reference in New Issue
Block a user