MCPcopy Index your code
hub / github.com/mailru/FileAPI / setVisibility

Function setVisibility

flash/image/html-template/swfobject.js:575–584  ·  view source on GitHub ↗
(id, isVisible)

Source from the content-addressed store, hash-verified

573 }
574
575 function setVisibility(id, isVisible) {
576 if (!autoHideShow) { return; }
577 var v = isVisible ? "visible" : "hidden";
578 if (isDomLoaded && getElementById(id)) {
579 getElementById(id).style.visibility = v;
580 }
581 else {
582 createCSS("#" + id, "visibility:" + v);
583 }
584 }
585
586 /* Filter to avoid XSS attacks
587 */

Callers 2

matchVersionsFunction · 0.70
swfobject.jsFile · 0.70

Calls 2

getElementByIdFunction · 0.70
createCSSFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…