Skip to content

Commit 5f1d924

Browse files
committed
Avoid caching search input between navigation
1 parent d81b879 commit 5f1d924

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

layouts/_default/search.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ <h1>{{- (printf "%s&nbsp;" .Title ) | htmlUnescape -}}
2121
</header>
2222

2323
<div id="searchbox">
24-
<input id="searchInput" autofocus placeholder="{{ .Params.placeholder | default (printf "%s " .Title) }}" aria-label="search" type="search">
24+
<input id="searchInput" autofocus placeholder="{{ .Params.placeholder | default (printf "%s " .Title) }}"
25+
aria-label="search" type="search" autocomplete="off">
2526
<ul id="searchResults" aria-label="search results"></ul>
2627
</div>
2728

0 commit comments

Comments
 (0)