// Note, our search is case insensitive, but we keep the input in
// its typed case, so that if they're entering a new item name it
// can be added in the original input format.
function update_filter() {
if ((cur_names == null) || (cur_names.items.length == 0)) {
return;
}
// If returning to no filter, use general display code if (!ifilter.value) { show_new_list(cur_names); return; }
// Adjust what's hidden based on latest input
// // Note that when filtering, we even show items // from colors which are not selected in the RGY // selector. // const ifv = ifilter.value.toLowerCase();
let showing = null;
for (let i of cur_names.items) {
if (i.name.toLowerCase().includes(ifv)) {
showing = "inline";
} else {
showing = "none";
}
// Update display attribute
for (let e of i.elems) {

This page was generated in about
0.001s by
Fossil 2.9 [c546212f10] 2019-03-22 18:39:19