Some code restructuring, Update copyright year, Fix bug in PagesSearch.html

This commit is contained in:
2023-02-23 00:11:49 +01:00
parent f433fff8a2
commit c35aa94345
17 changed files with 406 additions and 391 deletions

View File

@@ -90,7 +90,7 @@
return false;
};
function CreateSearchAnchors() {
function CreateSearchAnchors(Query) {
/*
// Create anchors redirecting to the pages that are displayed
document.querySelectorAll(SelectBase).forEach(function(Page) {
@@ -184,7 +184,7 @@
${WordLooseStyle}
${SelectBase} *[data-staticoso-htmlsearch-block*="${Query}"] { display: revert; }
`;
CreateSearchAnchors();
CreateSearchAnchors(Query);
};
['onchange', 'oninput', 'onpaste'].forEach(function(Ev) {