Skip to content

Commit

Permalink
Added autofocus attribute to search field to prevent bugs in clients …
Browse files Browse the repository at this point in the history
…where the javascript focussing is not working

Signed-off-by: Philipp <[email protected]>
  • Loading branch information
Philipp committed May 2, 2019
1 parent e75fdac commit 4913f9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/html/newtab.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

<section class="mid">
<div id="search">
<input type="text" spellcheck="false" />
<input type="text" autofocus spellcheck="false" />
<button type="submit"></button>
<a href="#" class="speechSearch"></a>
</div>
Expand Down

0 comments on commit 4913f9a

Please sign in to comment.