1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-10-06 09:37:12 +02:00

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