fix(miniflux) correct category filter
This commit is contained in:
parent
d0d2bc01a9
commit
023baf9a0a
@ -2,8 +2,8 @@
|
||||
'use strict';
|
||||
|
||||
document.querySelectorAll('article.item').forEach(function(e) {
|
||||
var total = e.querySelector('span[class="category-item-total"]').innerText == '(0)';
|
||||
if (total) {
|
||||
const totalSpan = e.querySelector('span.category-item-total');
|
||||
if (totalSpan && totalSpan.innerText.trim() === '(0)') {
|
||||
e.remove();
|
||||
}
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user