mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-03 20:06:08 +01:00 
			
		
		
		
	fixed bug with select not firing on recent notes
This commit is contained in:
		@@ -232,12 +232,6 @@ async function initAutocomplete($el) {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
$dialog.on('focus', '.relation-target-note-id', async function (e) {
 | 
					 | 
				
			||||||
    await initAutocomplete($(this));
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    $(this).autocomplete("search", $(this).val());
 | 
					 | 
				
			||||||
});
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
$dialog.on('click', '.relations-show-recent-notes', async function () {
 | 
					$dialog.on('click', '.relations-show-recent-notes', async function () {
 | 
				
			||||||
    const $autocomplete = $(this).parent().find('.relation-target-note-id');
 | 
					    const $autocomplete = $(this).parent().find('.relation-target-note-id');
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user