From 625f202275d7a835d0449b838a8971de45656596 Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Tue, 16 Jul 2019 14:49:19 +0200 Subject: Make lunr to load on search interaction as well --- assets/search.js | 1 + 1 file changed, 1 insertion(+) (limited to 'assets') 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); -- cgit v1.2.3