commit 7ae260318028a0fc36318e62fe4e5e2538ab53fd parent 50c356407e4f1670683ffba62d0b3928559f7253 Author: AsherMorgan <59518073+AsherMorgan@users.noreply.github.com> Date: Mon, 26 Oct 2020 10:35:58 -0700 Fix home screen keyboard shortcuts. Diffstat:
| M | js/home.js | | | 8 | ++++---- |
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/js/home.js b/js/home.js @@ -145,12 +145,12 @@ function KeyDown(e) { // Home shortcuts if (app.state === "home") { if (e.key === "c") { - category = "verbs"; - state = "settings"; + app.category = "verbs"; + app.state = "settings"; } if (e.key === "v") { - category = "vocab"; - state = "settings"; + app.category = "vocab"; + app.state = "settings"; } if (e.key === "r") { window.location = "reference.html";