Merge pull request #32 from thegeeklab/fix-search
fix broken flexsearch asset loading
This commit is contained in:
commit
05a1b31545
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@
|
|||
input.removeEventListener('focus', init); // init once
|
||||
input.required = true;
|
||||
|
||||
loadScript('{{ "js/flexsearch.min.js" | relURL }}');
|
||||
loadScript('{{ index .Site.Data.assets "js/flexsearch.min.js" | relURL }}');
|
||||
loadScript('{{ $searchData.RelPermalink }}', function() {
|
||||
input.required = false;
|
||||
search();
|
||||
|
|
Loading…
Reference in a new issue