mirror of
https://github.com/gorhill/uBlock.git
synced 2024-10-04 08:37:11 +02:00
this fixes #536
This commit is contained in:
parent
2509bceaff
commit
b190f0b183
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user