diff options
author | xengineering <me@xengineering.eu> | 2023-05-07 10:36:27 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2023-05-07 10:36:27 +0200 |
commit | 41b2ab145a685c1d55cff84c9b74a9eeabd6ebc7 (patch) | |
tree | a6ddd1c7c5ee3a285de99b248b6587b9589773b4 | |
parent | 2357f619d3f29174a97c3b6a3eddb53ee34dd050 (diff) | |
download | ceres-41b2ab145a685c1d55cff84c9b74a9eeabd6ebc7.tar ceres-41b2ab145a685c1d55cff84c9b74a9eeabd6ebc7.tar.zst ceres-41b2ab145a685c1d55cff84c9b74a9eeabd6ebc7.zip |
index.html: Remove autofocus to search field
This is useful for desktops but is annoying on mobile devices since a
touchscreen keyboard is overlayed automatically and hides half of the
index page.
-rw-r--r-- | data/templates/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/index.html b/data/templates/index.html index 04711eb..0b97187 100644 --- a/data/templates/index.html +++ b/data/templates/index.html @@ -16,7 +16,7 @@ <main> <p>Here are the available recipes 😋🍳🍔🍕🥘</p> - <input id="search" onkeyup="filter()" type="text" placeholder="Search for a recipe ..." autofocus></input> + <input id="search" onkeyup="filter()" type="text" placeholder="Search for a recipe ..."></input> <ul id="recipes">{{range .}} <li><a href="./recipe?id={{.Id}}">{{.Title}}</a></li>{{end}} </ul> |