mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 09:07:54 +01:00
Support non-default sticky lists
"Sticky" lists are those which stay visible when collapsing non-used lists in the "Filter lists" pane.
This commit is contained in:
parent
a8cf08325d
commit
ea7d411bc2
1 changed files with 3 additions and 1 deletions
|
@ -130,7 +130,9 @@ const renderFilterLists = ( ) => {
|
||||||
dom.attr(elem, 'href', listDetails.instructionURL || '#');
|
dom.attr(elem, 'href', listDetails.instructionURL || '#');
|
||||||
}
|
}
|
||||||
dom.cl.toggle(listEntry, 'isDefault',
|
dom.cl.toggle(listEntry, 'isDefault',
|
||||||
listDetails.isDefault === true || listkey === 'user-filters'
|
listDetails.isDefault === true ||
|
||||||
|
listDetails.isImportant === true ||
|
||||||
|
listkey === 'user-filters'
|
||||||
);
|
);
|
||||||
elem = qs$(listEntry, '.leafstats');
|
elem = qs$(listEntry, '.leafstats');
|
||||||
dom.text(elem, renderLeafStats(on ? listDetails.entryUsedCount : 0, listDetails.entryCount));
|
dom.text(elem, renderLeafStats(on ? listDetails.entryUsedCount : 0, listDetails.entryCount));
|
||||||
|
|
Loading…
Reference in a new issue