1
0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2024-05-29 09:28:06 +02: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, "");