mirror of
https://github.com/tridactyl/tridactyl.git
synced 2026-09-10 07:16:33 -04:00
Fix #2082: respect leavegithubalone everywhere except ignore
This commit is contained in:
parent
b40b78c8f6
commit
5887493a8d
|
|
@ -515,7 +515,7 @@ function protectSlash(e) {
|
|||
const key = keyseq.minimalKeyFromKeyboardEvent(e)
|
||||
if (
|
||||
protectedKeys.some(mapstr => keyseq.mapstrMatchesKey(mapstr, key)) &&
|
||||
contentState.mode === "normal"
|
||||
contentState.mode !== "ignore"
|
||||
) {
|
||||
e.cancelBubble = true
|
||||
e.stopImmediatePropagation()
|
||||
|
|
|
|||
Loading…
Reference in a new issue