Bug fix, case-insensitivity now works in dropdown filter.

This commit is contained in:
Yaro Kasear 2025-10-22 14:10:40 -05:00
parent c31da91716
commit 3a2a8a06d9

View file

@ -2,7 +2,7 @@ const DropDown = globalThis.DropDown ?? (globalThis.DropDown = {});
DropDown.utilities = {
filterList(id) {
value = document.getElementById(`${id}-filter`).value;
value = document.getElementById(`${id}-filter`).value.toLowerCase();
list = document.querySelectorAll(`#${id}-dropdown li`);
list.forEach(item => {