1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-06 19:02:30 +01:00

Prevent info entries from polluting logger output

These entries are meant to be shown only when using "All"
mode, not when the output is narrowed to a specific tab.
This commit is contained in:
Raymond Hill 2019-01-16 13:29:34 -05:00
parent 0c80994124
commit 801eb43572
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -1854,9 +1854,10 @@ const rowFilterer = (function() {
if ( if (
logEntry.dead || logEntry.dead ||
selectedTabId !== 0 && selectedTabId !== 0 &&
logEntry.tabId !== undefined && (
logEntry.tabId > 0 && logEntry.tabId === undefined ||
logEntry.tabId !== selectedTabId logEntry.tabId > 0 && logEntry.tabId !== selectedTabId
)
) { ) {
return false; return false;
} }