mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user