mirror of https://github.com/gorhill/uBlock.git
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
|
@ -130,7 +130,9 @@ const renderFilterLists = ( ) => {
|
|||
dom.attr(elem, 'href', listDetails.instructionURL || '#');
|
||||
}
|
||||
dom.cl.toggle(listEntry, 'isDefault',
|
||||
listDetails.isDefault === true || listkey === 'user-filters'
|
||||
listDetails.isDefault === true ||
|
||||
listDetails.isImportant === true ||
|
||||
listkey === 'user-filters'
|
||||
);
|
||||
elem = qs$(listEntry, '.leafstats');
|
||||
dom.text(elem, renderLeafStats(on ? listDetails.entryUsedCount : 0, listDetails.entryCount));
|
||||
|
|
Loading…
Reference in New Issue