mirror of
https://github.com/zadam/trilium.git
synced 2025-10-30 09:56:36 +01:00
refactoring of legacy js events
This commit is contained in:
@@ -12,7 +12,7 @@ class NoteDetailSearch {
|
||||
this.$help = ctx.$tabContent.find(".note-detail-search-help");
|
||||
this.$refreshButton = ctx.$tabContent.find('.note-detail-search-refresh-results-button');
|
||||
|
||||
this.$refreshButton.click(async () => {
|
||||
this.$refreshButton.on('click', async () => {
|
||||
await noteDetailService.saveNotesIfChanged();
|
||||
|
||||
await searchNotesService.refreshSearch();
|
||||
|
||||
Reference in New Issue
Block a user