Show progressbar while loading lunr and data

This commit is contained in:
Alex Shpak
2019-07-17 17:56:12 +02:00
parent f56f2bf04d
commit 469d9d88cd
8 changed files with 52 additions and 23 deletions
+1 -3
View File
@@ -1,9 +1,7 @@
{{ if default true .Site.Params.BookSearch }}
<div class="book-search">
<ul id="book-search-dummy" class="hidden">
<li><a href></a></li><!-- used to clone search result -->
</ul>
<input type="text" placeholder="Search" id="book-search-input" maxlength="64" readonly />
<div class="book-search-spinner spinner hidden"></div>
<ul id="book-search-results"></ul>
</div>
{{ end }}