code review: oops

This commit is contained in:
gorhill 2015-01-23 11:56:43 -05:00
parent eeb5e8de5b
commit 44bc263a69

View file

@ -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();