mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	recent notes can now both jump and add link
This commit is contained in:
		| @@ -11,16 +11,7 @@ $(document).bind('keydown', 'alt+l', function() { | ||||
|     }); | ||||
|  | ||||
|     function setDefaultLinkTitle(noteId) { | ||||
|         const note = getNodeByKey(noteId); | ||||
|         if (!note) { | ||||
|             return; | ||||
|         } | ||||
|  | ||||
|         let noteTitle = note.title; | ||||
|  | ||||
|         if (noteTitle.endsWith(" (clone)")) { | ||||
|             noteTitle = noteTitle.substr(0, noteTitle.length - 8); | ||||
|         } | ||||
|         const noteTitle = getNoteTitle(noteId); | ||||
|  | ||||
|         $("#linkTitle").val(noteTitle); | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user