template: autofocus field - twitch-go - twitch.tv web application in Go
(HTM) git clone git://git.codemadness.org/twitch-go
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 2143bf71ca85895295320b241f2a1c5068a8dc34
(DIR) parent 973a3b00c9dc7f0f754c97b23980e66ee30a221c
(HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 8 Sep 2017 12:33:37 +0200
template: autofocus field
Diffstat:
M data/templates/themes/default/page⦠| 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/data/templates/themes/default/page.html b/data/templates/themes/default/page.html
@@ -15,7 +15,7 @@
<a href="/twitch.sh">SH version</a> |
<a href="/links">Links</a>
- <span style="float: right"><input type="text" name="c" size="16" placeholder="Channel..." /><input type="submit" name="get" value="Get playlist" /></span>
+ <span style="float: right"><input type="text" name="c" size="16" autofocus="autofocus" placeholder="Channel..." /><input type="submit" name="get" value="Get playlist" /></span>
</form>
</span></div></div>
<hr class="hidden" />