Fix lint.

This commit is contained in:
Will Scullin 2020-04-23 19:50:19 -07:00
parent 87e8cde031
commit 9f34078f30
No known key found for this signature in database
GPG Key ID: 9092A5C0A673416B

View File

@ -218,7 +218,7 @@ export default function KeyBoard(cpu, io, e) {
key = keymap[code][evt.shiftKey ? 2 : (evt.ctrlKey ? 1 : 0)];
if (code != 20 && capslockKeyUsed) {
this.capslockKey(evt.getModifierState("CapsLock"));
this.capslockKey(evt.getModifierState('CapsLock'));
}
if (capslocked && key >= 0x61 && key <= 0x7A) {