diff options
Diffstat (limited to 'src/scripts/common/stop-blocking.ts')
| -rw-r--r-- | src/scripts/common/stop-blocking.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scripts/common/stop-blocking.ts b/src/scripts/common/stop-blocking.ts index 3fa3de6..bdebfe9 100644 --- a/src/scripts/common/stop-blocking.ts +++ b/src/scripts/common/stop-blocking.ts @@ -13,7 +13,7 @@ document.addEventListener("DOMContentLoaded", () => { } return proxiedBind.apply(this, Array.from(arguments) as any); - } + }; const proxiedKeydown = $.prototype.keydown; /** Proxies jQuery `.keydown()` so all key presses are allowed. */ @@ -21,7 +21,7 @@ document.addEventListener("DOMContentLoaded", () => { arguments[0] = (_: any) => true; return proxiedKeydown.apply(this, Array.from(arguments) as any); - } + }; $.prototype.bind = proxiedBind; $.prototype.keydown = proxiedKeydown; |
