diff --git a/src/public/javascripts/services/search_notes.js b/src/public/javascripts/services/search_notes.js index 1460d1aac..ecb4deb0e 100644 --- a/src/public/javascripts/services/search_notes.js +++ b/src/public/javascripts/services/search_notes.js @@ -89,7 +89,7 @@ $searchInput.keyup(e => { } }).focus(); -$doSearchButton.click(doSearch); +$doSearchButton.click(() => doSearch()); // keep long form because of argument $resetSearchButton.click(resetSearch); $saveSearchButton.click(saveSearch);