MCPcopy Index your code
hub / github.com/JsAaron/jQuery / safeActiveElement

Function safeActiveElement

2.1.1/src/event.js:29–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27}
28
29function safeActiveElement() {
30 try {
31 return document.activeElement;
32 } catch ( err ) { }
33}
34
35/*
36 * Helper functions for managing events -- not part of the public interface.

Callers 1

event.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected