1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-10-04 08:37:11 +02:00
This commit is contained in:
gorhill 2015-07-27 17:55:25 -04:00
parent 2509bceaff
commit b190f0b183

View File

@ -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();