diff options
-rw-r--r-- | src/content.ts | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/content.ts b/src/content.ts index cef93488..c9e72dcd 100644 --- a/src/content.ts +++ b/src/content.ts @@ -2587,16 +2587,6 @@ function hotkeyListener(e: KeyboardEvent): void { previousChapter(); return; } - - //legacy - to preserve keybinds for skipKey, startSponsorKey and submitKey for people who set it before the update. (shouldn't be changed for future keybind options) - if (key.key == skipKey?.key && skipKey.code == null && !keybindEquals(Config.syncDefaults.skipKeybind, skipKey)) { - if (activeSkipKeybindElement) - activeSkipKeybindElement.toggleSkip.call(activeSkipKeybindElement); - } else if (key.key == startSponsorKey?.key && startSponsorKey.code == null && !keybindEquals(Config.syncDefaults.startSponsorKeybind, startSponsorKey)) { - startOrEndTimingNewSegment(); - } else if (key.key == submitKey?.key && submitKey.code == null && !keybindEquals(Config.syncDefaults.submitKeybind, submitKey)) { - openSubmissionMenu(); - } } /** |