Avoid caching search input between navigation

This commit is contained in:
Aditya Telange 2021-10-30 13:57:22 +05:30
parent d81b87938b
commit 5f1d92493b
No known key found for this signature in database
GPG Key ID: 82E844EF3DA99E77
1 changed files with 2 additions and 1 deletions

View File

@ -21,7 +21,8 @@
</header> </header>
<div id="searchbox"> <div id="searchbox">
<input id="searchInput" autofocus placeholder="{{ .Params.placeholder | default (printf "%s " .Title) }}" aria-label="search" type="search"> <input id="searchInput" autofocus placeholder="{{ .Params.placeholder | default (printf "%s " .Title) }}"
aria-label="search" type="search" autocomplete="off">
<ul id="searchResults" aria-label="search results"></ul> <ul id="searchResults" aria-label="search results"></ul>
</div> </div>