mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 01:02:08 +01:00
Fix non-filter lists ending into selected lists at install time
Fortunately, getAvailableLists() filters out non-filter list resources thus preventing those mistakenly selected resources from being loaded as filter lists.
This commit is contained in:
parent
ea7d411bc2
commit
c4de5552e5
1 changed files with 1 additions and 0 deletions
|
@ -635,6 +635,7 @@ import {
|
|||
for ( const key in lists ) {
|
||||
if ( lists.hasOwnProperty(key) === false ) { continue; }
|
||||
const list = lists[key];
|
||||
if ( list.content !== 'filters' ) { continue; }
|
||||
if ( list.off !== true ) {
|
||||
selectedListKeys.push(key);
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue