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