mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 09:07:54 +01:00
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
1 changed files with 1 additions and 1 deletions
|
@ -405,7 +405,7 @@
|
||||||
}
|
}
|
||||||
const log = needle === '.?' && not === false ? console.log : undefined;
|
const log = needle === '.?' && not === false ? console.log : undefined;
|
||||||
needle = new RegExp(needle);
|
needle = new RegExp(needle);
|
||||||
window.requestAnimationFrame = new Proxy(window.setTimeout, {
|
window.requestAnimationFrame = new Proxy(window.requestAnimationFrame, {
|
||||||
apply: function(target, thisArg, args) {
|
apply: function(target, thisArg, args) {
|
||||||
const a = args[0];
|
const a = args[0];
|
||||||
const s = a.toString();
|
const s = a.toString();
|
||||||
|
|
Loading…
Reference in a new issue