diff options
author | Alex Shpak <alex-shpak@users.noreply.github.com> | 2019-07-16 14:49:19 +0200 |
---|---|---|
committer | Alex Shpak <alex-shpak@users.noreply.github.com> | 2019-08-06 11:33:42 +0200 |
commit | 625f202275d7a835d0449b838a8971de45656596 (patch) | |
tree | 18f13ae0530ced78d71799dbab129fe807e1bf6a /assets | |
parent | 440ea834f7b1de9c88e2dbd028f5cff86de2d361 (diff) |
Make lunr to load on search interaction as well
Diffstat (limited to 'assets')
-rw-r--r-- | assets/search.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/assets/search.js b/assets/search.js index c91baf2..e29f183 100644 --- a/assets/search.js +++ b/assets/search.js @@ -8,6 +8,7 @@ input.addEventListener("focus", init); function init() { + loadScript("{{ "lunr.min.js" | relURL }}") loadScript("{{ $searchData.RelPermalink }}", function() { input.disabled = false; input.addEventListener("keyup", search); |