From 341393513dc3622b6d59e5512a7ab11d82c7e6c3 Mon Sep 17 00:00:00 2001 From: julian laplace Date: Mon, 31 Oct 2022 12:00:16 +0100 Subject: redirect to /stream on mobile --- public/assets/js/lib/views/stream/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'public/assets/js/lib/views/stream/index.js') 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) { -- cgit v1.2.3-70-g09d2