code review

This commit is contained in:
gorhill 2015-06-11 15:35:35 -04:00
parent 5a263bf39d
commit e22fdaa9f2
1 changed files with 2 additions and 6 deletions

View File

@ -94,7 +94,7 @@ var initWorker = function(callback) {
}; };
var µb = µBlock; var µb = µBlock;
var path, entry, title; var path, entry;
for ( path in µb.remoteBlacklists ) { for ( path in µb.remoteBlacklists ) {
if ( µb.remoteBlacklists.hasOwnProperty(path) === false ) { if ( µb.remoteBlacklists.hasOwnProperty(path) === false ) {
@ -104,12 +104,8 @@ var initWorker = function(callback) {
if ( entry.off === true ) { if ( entry.off === true ) {
continue; continue;
} }
title = entry.title;
if ( path === µb.userFiltersPath ) {
title = vAPI.i18n('1pPageName');
}
entries[path] = { entries[path] = {
title: title, title: path !== µb.userFiltersPath ? entry.title : vAPI.i18n('1pPageName'),
supportURL: entry.supportURL || '' supportURL: entry.supportURL || ''
}; };
countdown += 1; countdown += 1;