Case-insensitive icon search

bcd8a28367cbc0b4a3be8a9a6da6e47bf789913d

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +1 -1Ignore whitespace
public/scripts/utils.js+1 -1
@@ -2068,7 +2068,7 @@ export async function showFontAwesomePicker(customList = null) {
2068 qry.placeholder = 'Filter icons';2068 qry.placeholder = 'Filter icons';
2069 qry.autofocus = true;2069 qry.autofocus = true;
2070 const qryDebounced = debounce(() => {2070 const qryDebounced = debounce(() => {
2071 const result = faList.filter(fa => fa.find(className=>className.includes(qry.value)));2071 const result = faList.filter(fa => fa.find(className=>className.includes(qry.value.toLowerCase())));
2072 for (const fa of faList) {2072 for (const fa of faList) {
2073 if (!result.includes(fa)) {2073 if (!result.includes(fa)) {
2074 fas[fa].classList.add('hidden');2074 fas[fa].classList.add('hidden');