aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorgorhill <rhill@raymondhill.net>2015-01-23 11:56:43 -0500
committergorhill <rhill@raymondhill.net>2015-01-23 11:56:43 -0500
commit44bc263a69af8475e7ef3f2c973ac2aeca53f9f5 (patch)
treee39457b668e90847df52c5d2190a823cdd785ca9 /src
parenteeb5e8de5bbef67369be042fbb444aca64d034f9 (diff)
downloaduBlock-44bc263a69af8475e7ef3f2c973ac2aeca53f9f5.zip
uBlock-44bc263a69af8475e7ef3f2c973ac2aeca53f9f5.tar.gz
uBlock-44bc263a69af8475e7ef3f2c973ac2aeca53f9f5.tar.bz2
code review: oops
Diffstat (limited to 'src')
-rw-r--r--src/js/contentscript-start.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/contentscript-start.js b/src/js/contentscript-start.js
index a190ef2..a60275d 100644
--- a/src/js/contentscript-start.js
+++ b/src/js/contentscript-start.js
@@ -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();