From 9f34078f30d846a1f003c77a6d1b93d54875a4b9 Mon Sep 17 00:00:00 2001 From: Will Scullin Date: Thu, 23 Apr 2020 19:50:19 -0700 Subject: [PATCH] Fix lint. --- js/ui/keyboard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/keyboard.js b/js/ui/keyboard.js index 02d7118..9b05cb6 100644 --- a/js/ui/keyboard.js +++ b/js/ui/keyboard.js @@ -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) {