mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-12 18:04:16 +01:00
Oops meant to be 5s, not 300s...
This commit is contained in:
parent
11f43d4a3d
commit
fe3846b72f
1 changed files with 1 additions and 1 deletions
|
@ -183,7 +183,7 @@ function safeSelf() {
|
||||||
if ( args.length === 0 ) { return; }
|
if ( args.length === 0 ) { return; }
|
||||||
const text = `[${document.location.hostname || document.location.href}]${args.join(' ')}`;
|
const text = `[${document.location.hostname || document.location.href}]${args.join(' ')}`;
|
||||||
if ( text === lastLogText && type === lastLogType ) {
|
if ( text === lastLogText && type === lastLogType ) {
|
||||||
if ( (Date.now() - lastLogTime) < 300000 ) { return; }
|
if ( (Date.now() - lastLogTime) < 5000 ) { return; }
|
||||||
}
|
}
|
||||||
lastLogType = type;
|
lastLogType = type;
|
||||||
lastLogText = text;
|
lastLogText = text;
|
||||||
|
|
Loading…
Reference in a new issue