Skip to content

Commit

Permalink
this fixes gorhill#536
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhill committed Jul 27, 2015
1 parent 2509bce commit b190f0b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/js/reverselookup.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit b190f0b

Please sign in to comment.