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/stream/index.js | |
| parent | a2bf5ad8689fb0f9c662cf2bb17a6d4890aba349 (diff) | |
redirect to /stream on mobile
Diffstat (limited to 'public/assets/js/lib/views/stream/index.js')
| -rw-r--r-- | public/assets/js/lib/views/stream/index.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/public/assets/js/lib/views/stream/index.js b/public/assets/js/lib/views/stream/index.js index 0a2aeb9..fef23ef 100644 --- a/public/assets/js/lib/views/stream/index.js +++ b/public/assets/js/lib/views/stream/index.js @@ -38,7 +38,9 @@ var StreamView = View.extend({ $("#content").prepend($(".alert")); } } - $(".search_form input").focus(); + if (is_desktop) { + $(".search_form input").focus(); + } }, onComment: function (comment) { |
