* @param {DOMElement} node input/textarea to focus
(node)
| 18602 | */ |
| 18603 | |
| 18604 | function focusNode(node) { |
| 18605 | // IE8 can throw "Can't move focus to the control because it is invisible, |
| 18606 | // not enabled, or of a type that does not accept the focus." for all kinds of |
| 18607 | // reasons that are too expensive and fragile to test. |
| 18608 | try { |
| 18609 | node.focus(); |
| 18610 | } catch (e) {} |
| 18611 | } |
| 18612 | |
| 18613 | module.exports = focusNode; |
| 18614 | },{}],151:[function(_dereq_,module,exports){ |
no outgoing calls
no test coverage detected
searching dependent graphs…