diff options
Diffstat (limited to 'assets/search.js')
-rw-r--r-- | assets/search.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/assets/search.js b/assets/search.js index edb81e9..eb38c1d 100644 --- a/assets/search.js +++ b/assets/search.js @@ -10,7 +10,10 @@ function init() { loadScript("{{ "lunr.min.js" | relURL }}") - loadScript("{{ $searchData.RelPermalink }}", search); + loadScript("{{ $searchData.RelPermalink }}", function() { + input.readOnly = false; + search(); + }); input.removeEventListener("focus", init); } |