MCPcopy Create free account
hub / github.com/DHTMLX/scheduler / getLightboxRoot

Function getLightboxRoot

codebase/sources/dhtmlxscheduler.js:6683–6691  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6681 scheduler2._focus(node.getElementsByTagName("select")[0]);
6682 } } };
6683 function getLightboxRoot() {
6684 const cspEnvironment = scheduler2.config.csp === true;
6685 const salesforceEnvironment = !!window["Sfdc"] || !!window["$A"] || window["Aura"] || "$shadowResolver$" in document.body;
6686 if (cspEnvironment || salesforceEnvironment) {
6687 return scheduler2.$root;
6688 } else {
6689 return document.body;
6690 }
6691 }
6692 scheduler2._setLbPosition = function(box) {
6693 if (!box) {
6694 return;

Callers 1

extend$6Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected