Template/Update (Part 4)
* convert search into separate endpoints
* move shared functionalty to components
* NOTE: acceptance of opensearch has waned over the last decade and
the script should be updated
This commit is contained in:
parent
81d9248541
commit
1f5152c871
13 changed files with 1995 additions and 1471 deletions
|
|
@ -18804,7 +18804,9 @@ var LiveSearch = new function() {
|
|||
|
||||
function highlight(match, $1) {
|
||||
// $1 containts % in matches with %s, which we don't want to replace
|
||||
return ($1 ? match : '<b><u>' + match + '</u></b>');
|
||||
return ($1 ? '<b><u>' + match + '</u></b>' : match);
|
||||
// aowow - why was the ternary reversed? Also how can it not match .. we explicitly searched for it.
|
||||
// return ($1 ? match : '<b><u>' + match + '</u></b>');
|
||||
}
|
||||
|
||||
function display(textbox, search, suggz, dataz) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue