diff options
author | Noah Loomans <noahloomans@gmail.com> | 2016-09-06 15:19:58 +0200 |
---|---|---|
committer | Noah Loomans <noahloomans@gmail.com> | 2016-09-06 15:19:58 +0200 |
commit | 5261bbe0d422a62f9c97943fae4d4eccd53bc1a5 (patch) | |
tree | c8142610af830e05f8f190a9bc98bcae72c69a80 /public/javascripts/bundle.js | |
parent | 571e3dea5e85c4ba54065acd8e6feb5fe1f9ec03 (diff) |
hotfix autocomplete
Diffstat (limited to 'public/javascripts/bundle.js')
-rw-r--r-- | public/javascripts/bundle.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/public/javascripts/bundle.js b/public/javascripts/bundle.js index 3fa0cc1..182249f 100644 --- a/public/javascripts/bundle.js +++ b/public/javascripts/bundle.js @@ -72665,10 +72665,8 @@ function updateWeekText () { else currentWeekNode.innerHTML = `<strong>Week ${getWeek() + offset}</strong>` } -updateWeekText() - getUsers().then(function (users) { - // console.log(users) + updateWeekText() searchNode.addEventListener('keydown', function (e) { if (e.key === 'ArrowDown' || e.key === 'ArrowUp') { @@ -72747,6 +72745,9 @@ inputNode.addEventListener('click', function () { inputNode.addEventListener('blur', function () { inputNode.selectionStart = inputNode.selectionEnd = -1 +}) + +searchNode.addEventListener('blur', function (e) { autocompleteNode.innerHTML = '' }) |