open recent notes autocomplete by focus so it is then closed with blur, fixes #272

This commit is contained in:
azivner
2019-01-10 21:04:06 +01:00
parent f5b933149a
commit 0b251530fa
3 changed files with 9 additions and 5 deletions

View File

@@ -87,7 +87,7 @@ $searchInput.keyup(e => {
if (e && e.which === $.ui.keyCode.ENTER) {
doSearch();
}
}).focus();
});
$doSearchButton.click(() => doSearch()); // keep long form because of argument
$resetSearchButton.click(resetSearch);