aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/docs/search.html
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2019-07-17 14:43:30 +0200
committerAlex Shpak <alex-shpak@users.noreply.github.com>2019-08-06 11:33:42 +0200
commitf56f2bf04dd6cd69e95304d5926c1229f2064d3a (patch)
tree16e07e3da6307baf570b2bfea26c41aa7fc0071d /layouts/partials/docs/search.html
parenta3f7d8b9484d14f36e34ce77d5f4b25405bcc01f (diff)
Block serach bar untill index is loaded
Diffstat (limited to 'layouts/partials/docs/search.html')
-rw-r--r--layouts/partials/docs/search.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/docs/search.html b/layouts/partials/docs/search.html
index 6276cc3..d1aeb58 100644
--- a/layouts/partials/docs/search.html
+++ b/layouts/partials/docs/search.html
@@ -1,9 +1,9 @@
{{ if default true .Site.Params.BookSearch }}
<div class="book-search">
<ul id="book-search-dummy" class="hidden">
- <li><a href></a></li>
+ <li><a href></a></li><!-- used to clone search result -->
</ul>
- <input type="text" placeholder="Search" id="book-search-input" />
+ <input type="text" placeholder="Search" id="book-search-input" maxlength="64" readonly />
<ul id="book-search-results"></ul>
</div>
{{ end }}