mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 11:56:01 +01:00
basic support for internal links
This commit is contained in:
@@ -181,9 +181,9 @@ function addRecentNote(noteTreeId, noteContentId) {
|
||||
// we include the note into recent list only if the user stayed on the note at least 5 seconds
|
||||
if (noteTreeId === globalNote.detail.note_id || noteContentId === globalNote.detail.note_id) {
|
||||
// if it's already there, remove the note
|
||||
recentNotes = recentNotes.filter(note => note !== noteTreeId);
|
||||
c = recentNotes.filter(note => note !== noteTreeId);
|
||||
|
||||
console.log("added after " + (new Date().getTime() - origDate.getTime()));
|
||||
//console.log("added after " + (new Date().getTime() - origDate.getTime()));
|
||||
|
||||
recentNotes.unshift(noteTreeId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user