diff options
| author | julian laplace <julescarbon@gmail.com> | 2022-10-31 12:00:16 +0100 |
|---|---|---|
| committer | julian laplace <julescarbon@gmail.com> | 2022-10-31 12:00:16 +0100 |
| commit | 341393513dc3622b6d59e5512a7ab11d82c7e6c3 (patch) | |
| tree | 25eac45533edbf406f6afe7adcb707e7ad9726cd /public/assets/js/lib/views/index/index.js | |
| parent | a2bf5ad8689fb0f9c662cf2bb17a6d4890aba349 (diff) | |
redirect to /stream on mobile
Diffstat (limited to 'public/assets/js/lib/views/index/index.js')
| -rw-r--r-- | public/assets/js/lib/views/index/index.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/public/assets/js/lib/views/index/index.js b/public/assets/js/lib/views/index/index.js index cd5f650..b370c9e 100644 --- a/public/assets/js/lib/views/index/index.js +++ b/public/assets/js/lib/views/index/index.js @@ -50,7 +50,9 @@ var IndexView = View.extend({ $("#content").prepend($(".alert")); } } - $(".search_form input").focus(); + if (is_desktop) { + $(".search_form input").focus(); + } }, success: function () { |
