aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2023-04-03 13:46:00 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2023-04-03 13:46:00 +0300
commitd518ac02aac071611bbc77d05be1d1bbb6411b8a (patch)
tree500f53c89ce24e070f74589a165b9a5fb7c3d071
parent3aa790585e8c3c8cff37fc065f34989477c5bdc3 (diff)
downloadtakeoff-d518ac02aac071611bbc77d05be1d1bbb6411b8a.tar.gz
takeoff-d518ac02aac071611bbc77d05be1d1bbb6411b8a.zip
fix: autofocus input fieldHEADmaster
-rw-r--r--templates/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/index.html b/templates/index.html
index 66b552f..c4b11c9 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -19,7 +19,7 @@
</div>
<div class="main-container">
<form id="search-form" method="post" action="https://{{ index .Instances 0 }}/search">
- <input type="text" name="q" id="q">
+ <input type="text" name="q" id="q" autofocus>
<p>Search with:</p>
<div class="subform">
{{ range .Instances }}