summaryrefslogtreecommitdiffstats
path: root/webapp/components/filtered_user_list.jsx
diff options
context:
space:
mode:
authorHarrison Healey <harrisonmhealey@gmail.com>2016-10-04 14:38:19 -0400
committerGitHub <noreply@github.com>2016-10-04 14:38:19 -0400
commit816a738d28bd475a445963b95eb854614a12a032 (patch)
tree7ac4072699692ada4807f45c760d8089c252c0a6 /webapp/components/filtered_user_list.jsx
parentb9dc759449f11e0352f97164360cc400fbc112d8 (diff)
downloadchat-816a738d28bd475a445963b95eb854614a12a032.tar.gz
chat-816a738d28bd475a445963b95eb854614a12a032.tar.bz2
chat-816a738d28bd475a445963b95eb854614a12a032.zip
PLT-4343 Fixes for mobile main menu (#4148)
* Fixed mobile app link in the main menu to be displayed on mobile browsers * Fixed doubled up dividers in mobile menu * Added scrolling to mobile main menu
Diffstat (limited to 'webapp/components/filtered_user_list.jsx')
-rw-r--r--webapp/components/filtered_user_list.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/filtered_user_list.jsx b/webapp/components/filtered_user_list.jsx
index 2f9a50d24..0e06d5943 100644
--- a/webapp/components/filtered_user_list.jsx
+++ b/webapp/components/filtered_user_list.jsx
@@ -62,7 +62,7 @@ class FilteredUserList extends React.Component {
componentDidMount() {
// only focus the search box on desktop so that we don't cause the keyboard to open on mobile
- if (!UserAgent.isMobileApp()) {
+ if (!UserAgent.isMobile()) {
ReactDOM.findDOMNode(this.refs.filter).focus();
}
}