Turn off hotkeys.js logging every press.

This commit is contained in:
voussoir 2021-06-03 17:53:34 -07:00
parent 83f1443a86
commit b35cc8196f
No known key found for this signature in database
GPG key ID: 5F7554F8C26DACCB

View file

@ -73,7 +73,7 @@ function hotkeys_listener(event)
{ {
if (hotkeys.should_prevent_hotkey(event)) { return; } if (hotkeys.should_prevent_hotkey(event)) { return; }
identifier = hotkeys.hotkey_identifier(event.key, event.ctrlKey, event.shiftKey, event.altKey); identifier = hotkeys.hotkey_identifier(event.key, event.ctrlKey, event.shiftKey, event.altKey);
console.log(identifier); //console.log(identifier);
if (identifier in hotkeys.HOTKEYS) if (identifier in hotkeys.HOTKEYS)
{ {
hotkeys.HOTKEYS[identifier]["action"](); hotkeys.HOTKEYS[identifier]["action"]();