summaryrefslogtreecommitdiff
path: root/src/client/scripts/keycode.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/scripts/keycode.ts')
-rw-r--r--src/client/scripts/keycode.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/scripts/keycode.ts b/src/client/scripts/keycode.ts
index 5786c1dc0a..c127d54bb2 100644
--- a/src/client/scripts/keycode.ts
+++ b/src/client/scripts/keycode.ts
@@ -1,5 +1,5 @@
export default (input: string): string[] => {
- if (Object.keys(aliases).some(a => a.toLowerCase() == input.toLowerCase())) {
+ if (Object.keys(aliases).some(a => a.toLowerCase() === input.toLowerCase())) {
const codes = aliases[input];
return Array.isArray(codes) ? codes : [codes];
} else {