mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-13 23:17:05 +03:00
Fix not allowing you to type ' in live chats
This commit is contained in:
@@ -2524,7 +2524,8 @@ function addHotkeyListener(): void {
|
||||
|
||||
function hotkeyListener(e: KeyboardEvent): void {
|
||||
if (["textarea", "input"].includes(document.activeElement?.tagName?.toLowerCase())
|
||||
|| document.activeElement?.id?.toLowerCase()?.includes("editable")) return;
|
||||
|| document.activeElement?.["contentEditable"]
|
||||
|| document.activeElement?.id?.toLowerCase()?.match(/editable|input/)) return;
|
||||
|
||||
const key: Keybind = {
|
||||
key: e.key,
|
||||
|
||||
Reference in New Issue
Block a user