From e22fdaa9f25eaeb3fe8cf645303c99fd79a589d1 Mon Sep 17 00:00:00 2001 From: gorhill Date: Thu, 11 Jun 2015 15:35:35 -0400 Subject: [PATCH] code review --- src/js/reverselookup.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/js/reverselookup.js b/src/js/reverselookup.js index 6d58911ea..e680fcdba 100644 --- a/src/js/reverselookup.js +++ b/src/js/reverselookup.js @@ -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;