MCPcopy Create free account
hub / github.com/TruthHun/BookStack / activeElt

Function activeElt

static/mergely/lib/codemirror.js:8420–8425  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8418 };
8419
8420 function activeElt() {
8421 var activeElement = document.activeElement;
8422 while (activeElement && activeElement.root && activeElement.root.activeElement)
8423 activeElement = activeElement.root.activeElement;
8424 return activeElement;
8425 }
8426 // Older versions of IE throws unspecified error when touching
8427 // document.activeElement in some cases (during loading, in iframe)
8428 if (ie && ie_version < 11) activeElt = function() {

Callers 6

updateDisplayIfNeededFunction · 0.70
codemirror.jsFile · 0.70
endOperation_W2Function · 0.70
leftButtonDownFunction · 0.70
extendFunction · 0.70
onKeyDownFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected