refactoring of legacy js events

This commit is contained in:
zadam
2019-11-09 17:39:48 +01:00
parent 179d530ea9
commit 31bcc037f1
39 changed files with 110 additions and 110 deletions

View File

@@ -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();