From 7e848332ce2e25268bfef49f84a448ebbb4c8dc0 Mon Sep 17 00:00:00 2001 From: Tamius Han Date: Tue, 30 Jan 2018 23:36:03 +0100 Subject: [PATCH] Fixed keyboard not working in Firefox/twitch. --- js/conf/Keybinds.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/conf/Keybinds.js b/js/conf/Keybinds.js index 268428c..7b769c3 100644 --- a/js/conf/Keybinds.js +++ b/js/conf/Keybinds.js @@ -121,7 +121,7 @@ var _kbd_load = async function() { var _kbd_setup = async function() { await _kbd_load(); - $(document).keydown(_kbd_process); + document.addEventListener('keydown', _kbd_process); } var _kbd_fetch = async function(){