Skip to content

Commit 4c854bf

Browse files
authored
Merge pull request #360 from OneNoteDev/bug/attach-clip-hotkey-listener
Replace undefined event variable with `ev`, the properly scoped event
2 parents 0aeae1a + bba6e1f commit 4c854bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scripts/clipperUI/panels/optionsPanel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class OptionsPanelClass extends ComponentBase<{}, OptionsPanelProp> {
6969
this.checkOptionsBeforeStartClip();
7070
}
7171
if (oldOnKeyDown) {
72-
oldOnKeyDown.call(document, event);
72+
oldOnKeyDown.call(document, ev);
7373
}
7474
};
7575

0 commit comments

Comments
 (0)