docs: fix typo in searcher comment
This commit is contained in:
parent
2bad8058fc
commit
ed5830144c
1 changed files with 1 additions and 1 deletions
|
|
@ -142,7 +142,7 @@ window.search = window.search || {};
|
||||||
const teaser = makeTeaser(escapeHTML(result.doc.body), searchterms);
|
const teaser = makeTeaser(escapeHTML(result.doc.body), searchterms);
|
||||||
teaser_count++;
|
teaser_count++;
|
||||||
|
|
||||||
// The ?URL_MARK_PARAM= parameter belongs inbetween the page and the #heading-anchor
|
// The ?URL_MARK_PARAM= parameter belongs in between the page and the #heading-anchor
|
||||||
const url = doc_urls[result.ref].split('#');
|
const url = doc_urls[result.ref].split('#');
|
||||||
if (url.length === 1) { // no anchor found
|
if (url.length === 1) { // no anchor found
|
||||||
url.push('');
|
url.push('');
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue