File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 3
3
/* global Mark, elasticlunr, path_to_root */
4
4
5
5
window . search = window . search || { } ;
6
- ( function search ( search ) {
6
+ ( function search ( ) {
7
7
// Search functionality
8
8
//
9
9
// You can use !hasFocus() to prevent keyhandling in your key
@@ -288,6 +288,9 @@ window.search = window.search || {};
288
288
289
289
// If reloaded, do the search or mark again, depending on the current url parameters
290
290
doSearchOrMarkFromUrl ( ) ;
291
+
292
+ // Exported functions
293
+ config . hasFocus = hasFocus ;
291
294
}
292
295
293
296
function unfocusSearchbar ( ) {
@@ -521,6 +524,4 @@ window.search = window.search || {};
521
524
522
525
loadScript ( path_to_root + '{{ resource "searchindex.js" }}' , 'search-index' ) ;
523
526
524
- // Exported functions
525
- search . hasFocus = hasFocus ;
526
527
} ) ( window . search ) ;
You can’t perform that action at this time.
0 commit comments