mirror of
https://gitlab.com/octtspacc/staticoso
synced 2025-06-05 22:09:23 +02:00
Some code restructuring, Update copyright year, Fix bug in PagesSearch.html
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user