summaryrefslogtreecommitdiff
path: root/public/assets/js/lib/views/stream/index.js
diff options
context:
space:
mode:
authorjulian laplace <julescarbon@gmail.com>2022-10-31 12:00:16 +0100
committerjulian laplace <julescarbon@gmail.com>2022-10-31 12:00:16 +0100
commit341393513dc3622b6d59e5512a7ab11d82c7e6c3 (patch)
tree25eac45533edbf406f6afe7adcb707e7ad9726cd /public/assets/js/lib/views/stream/index.js
parenta2bf5ad8689fb0f9c662cf2bb17a6d4890aba349 (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.js4
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) {