mirror of https://github.com/gorhill/uBlock.git
code review: oops
This commit is contained in:
parent
eeb5e8de5b
commit
44bc263a69
|
@ -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 New Issue