Turn off hotkeys.js logging every press.

This commit is contained in:
voussoir 2021-06-04 13:03:05 -07:00
parent b9019095e2
commit 00917f585e
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"]();