aboutsummaryrefslogtreecommitdiff
path: root/assets/search.js
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2019-07-16 14:49:19 +0200
committerAlex Shpak <alex-shpak@users.noreply.github.com>2019-08-06 11:33:42 +0200
commit625f202275d7a835d0449b838a8971de45656596 (patch)
tree18f13ae0530ced78d71799dbab129fe807e1bf6a /assets/search.js
parent440ea834f7b1de9c88e2dbd028f5cff86de2d361 (diff)
Make lunr to load on search interaction as well
Diffstat (limited to 'assets/search.js')
-rw-r--r--assets/search.js1
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);