mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 09:07:54 +01:00
Render List stats below on mobile
This commit is contained in:
parent
df5437a54f
commit
0442718efd
1 changed files with 6 additions and 0 deletions
|
@ -182,6 +182,12 @@ const renderFilterLists = ( ) => {
|
|||
}
|
||||
for ( const [ listkey, listDetails ] of treeEntries ) {
|
||||
const listEntry = createListEntry(listDetails, depth);
|
||||
if ( dom.cl.has(dom.root, 'mobile') ) {
|
||||
const leafStats = qs$(listEntry, '.leafstats');
|
||||
if ( leafStats ) {
|
||||
listEntry.append(leafStats);
|
||||
}
|
||||
}
|
||||
listEntry.dataset.key = listkey;
|
||||
listEntry.dataset.parent = parentkey;
|
||||
dom.text(qs$(listEntry, '.listname'), listDetails.title);
|
||||
|
|
Loading…
Reference in a new issue