MCPcopy
hub / github.com/requirejs/requirejs / setListHeight

Function setListHeight

tests/doh/_browserRunner.js:660–671  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

658
659 var listHeightTimer = null;
660 var setListHeight = function(){
661 if(listHeightTimer){
662 clearTimeout(listHeightTimer);
663 }
664 var tl = byId("testList");
665 if(!tl){ return; }
666 listHeightTimer = doh.setTimeout(function(){
667 tl.style.display = "none";
668 tl.style.display = "";
669
670 }, 10);
671 }
672
673 _addOnEvt("resize", setListHeight);
674 _addOnEvt("load", setListHeight);

Callers

nothing calls this directly

Calls 1

byIdFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…