aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2019-07-17 17:56:12 +0200
committerAlex Shpak <alex-shpak@users.noreply.github.com>2019-08-06 11:33:42 +0200
commit469d9d88cd35c62b7f399e0b0dfdc339bc3f0055 (patch)
tree9869b68ced85a3ecf058657bf6a658f9d7ae28b7 /layouts/partials
parentf56f2bf04dd6cd69e95304d5926c1229f2064d3a (diff)
Show progressbar while loading lunr and data
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/docs/search.html4
1 files changed, 1 insertions, 3 deletions
diff --git a/layouts/partials/docs/search.html b/layouts/partials/docs/search.html
index d1aeb58..b15ca6d 100644
--- a/layouts/partials/docs/search.html
+++ b/layouts/partials/docs/search.html
@@ -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 }}