forked from cobra/rural-dict
Add autofocus to search input bar
This commit is contained in:
parent
e881c24f70
commit
3b86661b74
|
@ -13,7 +13,7 @@
|
||||||
<img src="{{ url_for('static', filename='img/logo.png') }}">
|
<img src="{{ url_for('static', filename='img/logo.png') }}">
|
||||||
</a>
|
</a>
|
||||||
<form id="search" role="search" method="get" action="/define.php">
|
<form id="search" role="search" method="get" action="/define.php">
|
||||||
<input type="search" id="term" name="term" placeholder="Search">
|
<input type="search" id="term" name="term" placeholder="Search" autofocus>
|
||||||
<button>Go</button>
|
<button>Go</button>
|
||||||
</form>
|
</form>
|
||||||
<a href=/random.php>Random</a>
|
<a href=/random.php>Random</a>
|
||||||
|
|
Loading…
Reference in New Issue