MCPcopy Create free account
hub / github.com/CloudBoost/cloudboost / safeActiveElement

Function safeActiveElement

test/bower_components/jquery/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.85

Calls

no outgoing calls

Tested by

no test coverage detected