mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 09:07:54 +01:00
Fix console logging ability in setTimeout-if
Regression from e0fd9750d4
This commit is contained in:
parent
14e60f5e2d
commit
e3043fadc7
1 changed files with 2 additions and 2 deletions
|
@ -543,7 +543,7 @@
|
|||
} else {
|
||||
needle = needle.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
|
||||
}
|
||||
const log = needleNot === false && needle === '.?' &&
|
||||
const log = needleNot === false && needle === '' &&
|
||||
delayNot === false && isNaN(delay)
|
||||
? console.log
|
||||
: undefined;
|
||||
|
@ -616,7 +616,7 @@
|
|||
} else {
|
||||
needle = needle.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
|
||||
}
|
||||
const log = needleNot === false && needle === '.?' &&
|
||||
const log = needleNot === false && needle === '' &&
|
||||
delayNot === false && isNaN(delay)
|
||||
? console.log
|
||||
: undefined;
|
||||
|
|
Loading…
Reference in a new issue