diff options
Diffstat (limited to 'src/background/keys.js')
-rw-r--r-- | src/background/keys.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/background/keys.js b/src/background/keys.js index 802340d..2fd00a2 100644 --- a/src/background/keys.js +++ b/src/background/keys.js @@ -10,7 +10,7 @@ const hasPrefix = (keys, prefix) => { if (keys.length < prefix.length) { return false; } - for (let i = 0; i < keys.length; ++i) { + for (let i = 0; i < prefix.length; ++i) { if (!identifyKey(keys[i], prefix[i])) { return false; } |