commit | 9c36ee6b2dbe176a504a7b56e52f76b5909a6d74 | [log] [tgz] |
---|---|---|
author | Adrià Vilanova MartÃnez <jocdeladria@gmail.com> | Mon Dec 31 00:25:15 2018 +0100 |
committer | GitHub <noreply@github.com> | Mon Dec 31 00:25:15 2018 +0100 |
tree | bc3da77a3d451e4001497887471749303d3bf3ff | |
parent | a5499488c2d3ecbc7c869ce67e9e8f20c0e8daf2 [diff] | |
parent | 65622cc2fcbc4a5d2123cb0fa0ad15fce766ce2b [diff] |
Merge pull request #11 from Huguet57/patch-5 event not determined
diff --git a/js/just-do-it.js b/js/just-do-it.js index cba9600..05d8da5 100644 --- a/js/just-do-it.js +++ b/js/just-do-it.js
@@ -26,7 +26,7 @@ function initJustDoIt() { - document.addEventListener("keydown", function() { + document.addEventListener("keydown", function(event) { if (event.key == "f" && event.target.getAttribute("id") != "search-input") altSearchBar(); if (event.which == seq[cur]) { if (cur < seq.length) {