mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-23 02:42:41 +01:00
Fix console logging ability in setTimeout-if
Regression from e0fd9750d4
This commit is contained in:
parent
14e60f5e2d
commit
e3043fadc7
@ -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 New Issue
Block a user