mirror of https://github.com/gorhill/uBlock.git
Oops meant to be 5s, not 300s...
This commit is contained in:
parent
11f43d4a3d
commit
fe3846b72f
|
@ -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 New Issue