flatter html
This commit is contained in:
parent
cf2e217030
commit
a74c276cd3
11 changed files with 84 additions and 107 deletions
|
|
@ -265,7 +265,7 @@ function toggleCakeTagFilter(btn) {
|
|||
activeCakeTags.push(tag);
|
||||
btn.classList.add('active');
|
||||
}
|
||||
var rows = document.querySelectorAll('#cakes-table tbody tr');
|
||||
var rows = document.querySelectorAll('#cakes-card tbody tr');
|
||||
for (var i = 0; i < rows.length; i++) {
|
||||
if (activeCakeTags.length === 0) { rows[i].classList.remove('hide'); continue; }
|
||||
var rowTags = (rows[i].getAttribute('data-tags') || '').split(',');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue