From 4c7533b786cbea6f8261477a0f1d18cdb1c6d176 Mon Sep 17 00:00:00 2001 From: gorhill Date: Thu, 1 Jan 2015 07:46:33 -0500 Subject: [PATCH] code review for #452 --- src/js/contentscript-end.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/contentscript-end.js b/src/js/contentscript-end.js index 7f8f1b7ad..04d62901f 100644 --- a/src/js/contentscript-end.js +++ b/src/js/contentscript-end.js @@ -80,7 +80,7 @@ var messager = vAPI.messaging.channel('contentscript-end.js'); // to force them to be seen as "already injected". selectors = vAPI.donthideCosmeticFilters; if ( typeof selectors === 'object' ) { - for ( selector in selectors ) { + for ( var selector in selectors ) { if ( selectors.hasOwnProperty(selector) ) { injectedSelectors[selector] = true; }