summaryrefslogtreecommitdiffstats
path: root/webapp/components/create_post.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/create_post.jsx')
-rw-r--r--webapp/components/create_post.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/create_post.jsx b/webapp/components/create_post.jsx
index e7329c5f3..1a7771b9b 100644
--- a/webapp/components/create_post.jsx
+++ b/webapp/components/create_post.jsx
@@ -302,7 +302,7 @@ export default class CreatePost extends React.Component {
}
focusTextbox(keepFocus = false) {
- if (keepFocus || !Utils.isMobile()) {
+ if (keepFocus || !UserAgent.isMobile()) {
this.refs.textbox.focus();
}
}