From cc495e9df080f1d299706963e30ee1790e68c16f Mon Sep 17 00:00:00 2001 From: Ali Taheri Date: Sun, 13 Mar 2016 00:32:41 +0330 Subject: [PATCH] Remove call to isMounted This was introduced with #3287 as migration from isMounted happened after this PR was opened. --- src/TextField/TextField.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TextField/TextField.jsx b/src/TextField/TextField.jsx index 959e354d3473ee..3836d216eb554f 100644 --- a/src/TextField/TextField.jsx +++ b/src/TextField/TextField.jsx @@ -365,7 +365,7 @@ const TextField = React.createClass({ }, select() { - if (this.isMounted()) this._getInputNode().select(); + if (this.input) this._getInputNode().select(); }, getValue() {