summaryrefslogtreecommitdiff
path: root/public/assets/js/lib/views/stream/index.js
diff options
context:
space:
mode:
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) {