diff options
| author | unwox <me@unwox.com> | 2025-12-30 21:17:37 +0600 |
|---|---|---|
| committer | unwox <me@unwox.com> | 2025-12-30 21:17:37 +0600 |
| commit | 2ca5c459619ef765d013565f2ce6965c857e7a79 (patch) | |
| tree | e7c6e8a3e3ba2f38416885a3fed67820f1eede85 /bin | |
| parent | a167b0f72d122c96a9be9b172ff0262a7e11db86 (diff) | |
it makes the site very inconvenient to use on mobile devices
since every page reload a keyboard slides up
Diffstat (limited to 'bin')
| -rw-r--r-- | bin/serve.fnl | 3 |
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" |
