mirror of
https://github.com/adulau/brouilleursdeblanc.git
synced 2024-11-07 12:06:26 +00:00
added 'autofocus' to search page
Added 'autofocus' attribute to automatically select the search input form upon page load (eliminates the need to 'click' in the input field before typing the search term).
This commit is contained in:
parent
7956577cf4
commit
6376d68f2a
1 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ sitemap: false
|
||||||
<!-- Search form -->
|
<!-- Search form -->
|
||||||
<form method="get" action="{{ site.url }}/search/" data-search-form class="simple-search">
|
<form method="get" action="{{ site.url }}/search/" data-search-form class="simple-search">
|
||||||
<label for="q">Search {{ site.title }} for:</label>
|
<label for="q">Search {{ site.title }} for:</label>
|
||||||
<input type="search" name="q" id="q" placeholder="What are you looking for?" data-search-input id="goog-wm-qt" />
|
<input type="search" name="q" id="q" placeholder="What are you looking for?" data-search-input id="goog-wm-qt" autofocus />
|
||||||
<input type="submit" value="Search" id="goog-wm-sb" />
|
<input type="submit" value="Search" id="goog-wm-sb" />
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue