Skip to content

Commit c40477c

Browse files
Fix JS error
1 parent d17db65 commit c40477c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/front-end/searcher/searcher.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,9 @@ window.search = window.search || {};
288288

289289
// If reloaded, do the search or mark again, depending on the current url parameters
290290
doSearchOrMarkFromUrl();
291+
292+
// Exported functions
293+
config.hasFocus = hasFocus;
291294
}
292295

293296
function unfocusSearchbar() {
@@ -521,6 +524,4 @@ window.search = window.search || {};
521524

522525
loadScript(path_to_root + '{{ resource "searchindex.js" }}', 'search-index');
523526

524-
// Exported functions
525-
search.hasFocus = hasFocus;
526527
})(window.search);

0 commit comments

Comments
 (0)