From b190f0b183eedad0cca3258fc0f8968da22aae95 Mon Sep 17 00:00:00 2001 From: gorhill Date: Mon, 27 Jul 2015 17:55:25 -0400 Subject: [PATCH] this fixes #536 --- src/js/reverselookup.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/js/reverselookup.js b/src/js/reverselookup.js index 9e1449070..79af14e7c 100644 --- a/src/js/reverselookup.js +++ b/src/js/reverselookup.js @@ -78,15 +78,20 @@ var initWorker = function(callback) { var onListLoaded = function(details) { var entry = entries[details.path]; + + // https://github.com/gorhill/uBlock/issues/536 + // Use path string when there is no filter list title. + worker.postMessage({ what: 'setList', details: { path: details.path, - title: entry.title || '', + title: entry.title || details.path, supportURL: entry.supportURL, content: details.content } }); + countdown -= 1; if ( countdown === 0 ) { callback();