summaryrefslogtreecommitdiff
path: root/bin/serve.fnl
diff options
context:
space:
mode:
authorunwox <me@unwox.com>2025-12-30 21:17:37 +0600
committerunwox <me@unwox.com>2025-12-30 21:17:37 +0600
commit2ca5c459619ef765d013565f2ce6965c857e7a79 (patch)
treee7c6e8a3e3ba2f38416885a3fed67820f1eede85 /bin/serve.fnl
parenta167b0f72d122c96a9be9b172ff0262a7e11db86 (diff)
remove autofocus from search fieldHEADmaster
it makes the site very inconvenient to use on mobile devices since every page reload a keyboard slides up
Diffstat (limited to 'bin/serve.fnl')
-rw-r--r--bin/serve.fnl3
1 files changed, 0 insertions, 3 deletions
diff --git a/bin/serve.fnl b/bin/serve.fnl
index 32aa1f2..8f76028 100644
--- a/bin/serve.fnl
+++ b/bin/serve.fnl
@@ -419,9 +419,6 @@
(menu-template path "menu-mobile")
[:form {:class "form"}
[:input {:type :search :name "query" :value form.query
- ;; autofocus makes browser scroll up to the input on reloads
- ;; and that doesn't work well with _G.reload
- :autofocus (if luna.debug nil true)
:placeholder "Поисковый запрос"}]
[:div {:class "form-range"}
[:input {:type :number :name "min-price" :min "1"