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

code review for #452

This commit is contained in:
gorhill 2015-01-01 07:46:33 -05:00
parent d5c3c2d6a6
commit 4c7533b786

View File

@ -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;
}