CSR-1891 set font weight to bold for matching characters
This commit is contained in:
parent
224fd66c0c
commit
75c312e66e
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
},
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue