Debugging 7
This commit is contained in:
+1
-1
@@ -18,7 +18,7 @@ function initFilter() {
|
|||||||
console.log(`Prüfe Artikel "${articleTitle}": Karte hat '${cardCategory}' vs Dropdown '${selectedCategory}'`);
|
console.log(`Prüfe Artikel "${articleTitle}": Karte hat '${cardCategory}' vs Dropdown '${selectedCategory}'`);
|
||||||
|
|
||||||
if (selectedCategory === 'all' || cardCategory === selectedCategory) {
|
if (selectedCategory === 'all' || cardCategory === selectedCategory) {
|
||||||
card.style.style.display = 'flex';
|
card.style.display = 'flex';
|
||||||
console.log("-> TREFFER (wird angezeigt)");
|
console.log("-> TREFFER (wird angezeigt)");
|
||||||
} else {
|
} else {
|
||||||
card.style.display = 'none';
|
card.style.display = 'none';
|
||||||
|
|||||||
Reference in New Issue
Block a user