Skip to content

Commit 7613337

Browse files
committed
Types
1 parent 6b6ed91 commit 7613337

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/inject/inject.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ function processRightCombinationBasedOnShortcut (shortcut, event) {
144144
})
145145

146146
// If there is a keyCode left, add that to the mix.
147-
if(combination.length) trueOrFalse.push(event.keyCode == combination[0])
147+
if(combination.length) trueOrFalse.push(event.keyCode.toString() == combination[0])
148148

149149
// Evaluate trueOrFalse by looking for the existence of False
150150
return trueOrFalse = (trueOrFalse.indexOf(false) < 0)

0 commit comments

Comments
 (0)