mirror of
https://github.com/adulau/brouilleursdeblanc.git
synced 2024-11-21 17:47:10 +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
1a389c9f3f
commit
83f393b900
1 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ sitemap: false
|
|||
<!-- Search form -->
|
||||
<form method="get" action="{{ site.url }}/search/" data-search-form class="simple-search">
|
||||
<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" />
|
||||
</form>
|
||||
|
||||
|
|
Loading…
Reference in a new issue