1
0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2024-12-22 04:40:20 +01:00

Don't throw target.apply is not a function

For #705
This commit is contained in:
kkapsner 2024-04-17 00:34:19 +02:00
parent 3eedc7b7dc
commit 00e60074c3

View File

@ -215,7 +215,7 @@
return original.apply(thisArg, args);
}
catch (error){
return target.apply(thisArg, args);
return scope.getWrapped(target).apply(thisArg, args);
}
}
}, window, "");