aboutsummaryrefslogtreecommitdiffstats
path: root/src/scripts/stop-blocking.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/scripts/stop-blocking.ts')
-rw-r--r--src/scripts/stop-blocking.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/scripts/stop-blocking.ts b/src/scripts/stop-blocking.ts
index 57357f8..f418f66 100644
--- a/src/scripts/stop-blocking.ts
+++ b/src/scripts/stop-blocking.ts
@@ -4,6 +4,7 @@ $.prototype.bind = function() {
if (arguments[0].trim() === "cut copy paste") {
arguments[1] = (e: any) => {};
}
+
return proxiedBind.apply(this, Array.from(arguments) as any);
}
@@ -11,6 +12,7 @@ const proxiedKeydown = $.prototype.keydown;
$.prototype.keydown = function() {
arguments[0] = (e: any) => true;
+
return proxiedKeydown.apply(this, Array.from(arguments) as any);
}