We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec6f26e commit 390eeb1Copy full SHA for 390eeb1
src/front-end/searcher/searcher.js
@@ -434,7 +434,7 @@ window.search = window.search || {};
434
435
function showSearch(yes) {
436
if (yes) {
437
- loadSearchScript(window.path_to_searchindex_js, 'search-index');
+ loadSearchScript(window.path_to_searchindex_js || (path_to_root + '{{ resource "searchindex.js" }}'), 'search-index');
438
search_wrap.classList.remove('hidden');
439
searchicon.setAttribute('aria-expanded', 'true');
440
} else {
0 commit comments