Skip to content

Commit

Permalink
fix for multiple transformers
Browse files Browse the repository at this point in the history
  • Loading branch information
myandrienko committed Apr 4, 2024
1 parent 8b4338c commit 0067011
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hotkey.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function findNonIgnored(activeElement, elements) {
function checkHotkey(window, code, transformers) {
let actualCode = code
for (let transform of transformers) {
actualCode = transform(code, window)
actualCode = transform(actualCode, window)
if (!actualCode) return false
}

Expand Down

0 comments on commit 0067011

Please # to comment.