commit | 65622cc2fcbc4a5d2123cb0fa0ad15fce766ce2b | [log] [tgz] |
---|---|---|
author | Andreu Huguet <andreuhuguet@gmail.com> | Fri Dec 28 13:41:17 2018 +0100 |
committer | GitHub <noreply@github.com> | Fri Dec 28 13:41:17 2018 +0100 |
tree | da18ef415443b4191bb06db12403a72622a8d347 | |
parent | 865b8ca46c2d6e13b8cc9d91be7391bb083ddd5e [diff] |
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) {