From fdc3a7a7f2a94f34021d73dd361b133a16cbf2af Mon Sep 17 00:00:00 2001 From: azivner Date: Fri, 31 Aug 2018 19:23:56 +0200 Subject: [PATCH] fix "search" button click --- src/public/javascripts/services/search_notes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);