new buttons and tweaked bg gradients
This commit is contained in:
parent
88b81681cb
commit
cd8c51097c
8 changed files with 255 additions and 108 deletions
|
@ -71,8 +71,8 @@ function clear(e) {
|
|||
function toggleSingles(e) {
|
||||
showSingles = !showSingles;
|
||||
|
||||
for (let li of document.querySelectorAll('#filters li')) {
|
||||
let count = li.querySelector('label').dataset.count;
|
||||
for (let li of document.querySelectorAll('.filterlist li')) {
|
||||
let count = +li.querySelector('label').dataset.count;
|
||||
if (count <= 1) {
|
||||
li.hidden = !showSingles;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue