Autofocus search input when opening page

pull/481/head
Thomas Weber 9 years ago committed by Thibaut Courouble
parent 575e559c1c
commit 14e85a641e

@ -5,7 +5,7 @@
<button type="button" class="_mobile-btn _menu-btn">Menu</button>
<button type="button" class="_mobile-btn _home-btn">Home</button>
<form class="_search" role="search">
<input type="search" class="_search-input" placeholder="Search&hellip;" autocomplete="off" autocapitalize="off" autocorrect="off" spellcheck="false" maxlength="30" aria-label="Search">
<input type="search" class="_search-input" placeholder="Search&hellip;" autocomplete="off" autocapitalize="off" autocorrect="off" spellcheck="false" maxlength="30" aria-label="Search" autofocus="autofocus">
<button type="reset" class="_search-clear" title="Clear search">Clear search</button>
<div class="_search-tag"></div>
</form>

Loading…
Cancel
Save