From d9eca0619738081999a2522895e5c52fc933c953 Mon Sep 17 00:00:00 2001 From: rirat-0 Date: Wed, 17 Jun 2026 19:30:11 +0200 Subject: [PATCH] Debugging 4 --- js/filter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/filter.js b/js/filter.js index 32ec154..f5835e8 100644 --- a/js/filter.js +++ b/js/filter.js @@ -6,7 +6,7 @@ function initFilter() { if (!filterSelect || !listContainer) return; filterSelect.addEventListener('change', function() { - const selectedCategory = this.value; + const selectedCategory = this.value.toLowerCase(); const cards = listContainer.querySelectorAll('.s-res-item'); cards.forEach(card => {