CSR-1891 set font weight to bold for matching characters

This commit is contained in:
Bryan Mauger 2024-03-12 08:56:55 -04:00
parent 224fd66c0c
commit 75c312e66e

View file

@ -157,7 +157,7 @@ export default {
let w = $(this).autocomplete("widget").find("div");
let regExpString = "(" + this.value + ")";
let re = new RegExp(regExpString, "i");
w.html((i, html) => html.replace(re, "<span style='color: red'>$1</span>"));
w.html((i, html) => html.replace(re, "<span style='font-weight: bold;'>$1</span>"));
}, 5);
},
});