Block serach bar untill index is loaded

This commit is contained in:
Alex Shpak
2019-07-17 14:43:30 +02:00
parent a3f7d8b948
commit f56f2bf04d
7 changed files with 14 additions and 13 deletions
+2 -2
View File
@@ -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 }}