autofocus on searchbar on homepage

This commit is contained in:
Akbar Rahman 2021-11-01 15:59:15 +00:00
parent e0471c8508
commit e331e4ce97
Signed by: alvierahman90
GPG Key ID: 20609519444A1269

View File

@ -13,7 +13,7 @@ Browse <a href="/notes">here</a> or by tag <a href="/.tags">here</a>.
</p>
<div id="searchWrapper">
<input placeholder="Search" id="search">
<input placeholder="Search" id="search" autofocus>
<input type="number" id="resultsMax" min="0" value="5">
</div>
<p class="smallText" style="margin-top: 0; text-align: center;"> Press <kbd>Enter</kbd> to open first result or <kbd>Shift</kbd>+<kbd>Enter</kbd> to open in new tab</p>