Debugging 4
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@ function initFilter() {
|
|||||||
if (!filterSelect || !listContainer) return;
|
if (!filterSelect || !listContainer) return;
|
||||||
|
|
||||||
filterSelect.addEventListener('change', function() {
|
filterSelect.addEventListener('change', function() {
|
||||||
const selectedCategory = this.value;
|
const selectedCategory = this.value.toLowerCase();
|
||||||
const cards = listContainer.querySelectorAll('.s-res-item');
|
const cards = listContainer.querySelectorAll('.s-res-item');
|
||||||
|
|
||||||
cards.forEach(card => {
|
cards.forEach(card => {
|
||||||
|
|||||||
Reference in New Issue
Block a user