mock shop page: case-insensitive search

This commit is contained in:
2026-02-05 11:07:07 -07:00
parent 0924d0edb1
commit 24ebf2742f
@@ -240,7 +240,7 @@
else else
for li in (<li/> in the next <ul/>) for li in (<li/> in the next <ul/>)
set name to the (innerHTML of the first .listing-name in li).trim() set name to the (innerHTML of the first .listing-name in li).trim()
if not name.includes(term) if not name.toLowerCase().includes(term.toLowerCase())
add .hidden to li add .hidden to li
else else
remove .hidden from li remove .hidden from li