mirror of https://github.com/gorhill/uBlock.git
Fix `raf-if` scriptlet: bad Proxy target
It was working nonetheless, which made me miss the mistake.
This commit is contained in:
parent
e735cd6a3f
commit
252ce421c9
|
@ -405,7 +405,7 @@
|
|||
}
|
||||
const log = needle === '.?' && not === false ? console.log : undefined;
|
||||
needle = new RegExp(needle);
|
||||
window.requestAnimationFrame = new Proxy(window.setTimeout, {
|
||||
window.requestAnimationFrame = new Proxy(window.requestAnimationFrame, {
|
||||
apply: function(target, thisArg, args) {
|
||||
const a = args[0];
|
||||
const s = a.toString();
|
||||
|
|
Loading…
Reference in New Issue