MCPcopy Index your code
hub / github.com/DHTMLX/gantt / selectInput

Function selectInput

samples/common/codehighlight/codemirror.js:140–140  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

138 }
139
140 var selectInput = function(node) { node.select(); };
141 if (ios) // Mobile Safari apparently has a bug where select() is broken.
142 { selectInput = function(node) { node.selectionStart = 0; node.selectionEnd = node.value.length; }; }
143 else if (ie) // Suppress mysterious IE10 errors

Callers 3

onCopyCutFunction · 0.85
prepareCopyCutFunction · 0.85
codemirror.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected