File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 33/* global Mark, elasticlunr, path_to_root */
44
55window . search = window . search || { } ;
6- ( function search ( search ) {
6+ ( function search ( ) {
77 // Search functionality
88 //
99 // You can use !hasFocus() to prevent keyhandling in your key
@@ -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 ) ;
You can’t perform that action at this time.
0 commit comments