aboutsummaryrefslogtreecommitdiff
path: root/node_modules/react-dom/lib/ReactInputSelection.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/react-dom/lib/ReactInputSelection.js')
-rw-r--r--node_modules/react-dom/lib/ReactInputSelection.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/node_modules/react-dom/lib/ReactInputSelection.js b/node_modules/react-dom/lib/ReactInputSelection.js
index 91308646f..fec1c74fc 100644
--- a/node_modules/react-dom/lib/ReactInputSelection.js
+++ b/node_modules/react-dom/lib/ReactInputSelection.js
@@ -27,7 +27,6 @@ function isInDocument(node) {
* Input selection module for React.
*/
var ReactInputSelection = {
-
hasSelectionCapabilities: function (elem) {
var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase();
return nodeName && (nodeName === 'input' && elem.type === 'text' || nodeName === 'textarea' || elem.contentEditable === 'true');