mock shop page: case-insensitive search
This commit is contained in:
+1
-1
@@ -240,7 +240,7 @@
|
||||
else
|
||||
for li in (<li/> in the next <ul/>)
|
||||
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
|
||||
else
|
||||
remove .hidden from li
|
||||
|
||||
Reference in New Issue
Block a user