From 1c268dfd729a6e271b55e6650fb6f025948dc3db Mon Sep 17 00:00:00 2001
From: Corey Hulen <corey@hulen.com>
Date: Fri, 25 Aug 2017 07:42:04 -0700
Subject: PLT-7318 fixing focus issue with IPad (#7287)

* PLT-7318 fixing focus issue with IPad

* Fixing for RHS
---
 webapp/components/create_comment/create_comment.jsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'webapp/components/create_comment/create_comment.jsx')

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();
         }
     }
-- 
cgit v1.2.3-1-g7c22

