mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 09:07:54 +01:00
code review: oops
This commit is contained in:
parent
eeb5e8de5b
commit
44bc263a69
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ var filteringHandler = function(details) {
|
|||
// If no filters were found, maybe the script was injected before uBlock's
|
||||
// process was fully initialized. When this happens, pages won't be
|
||||
// cleaned right after browser launch.
|
||||
vAPI.contentscriptStartInjected = !details || details.cosmeticHide.length !== 0;
|
||||
vAPI.contentscriptStartInjected = details && details.cosmeticHide.length !== 0;
|
||||
|
||||
// Cleanup before leaving
|
||||
localMessager.close();
|
||||
|
|
Loading…
Reference in a new issue