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