libcord-tech / gauntlet

A keybinding tool for defending quickly in NationStates.
BSD 3-Clause "New" or "Revised" License
3 stars 3 forks source link

Autofill keyboard events produce errors #18

Closed esfalsa closed 1 year ago

esfalsa commented 1 year ago

Minor issue, but autofill on Chrome sends KeyUp events without a key property. Thus, for these events, the keybind event handler throws this error:

Uncaught TypeError: Cannot read properties of undefined (reading 'toUpperCase')

It doesn't affect any functionality, I'm just noting this because the errors are starting to annoy me 😛