MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / hideSelect

Function hideSelect

src/dialogs/color.js:145–153  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

143 restoreTheme(true);
144
145 function hideSelect() {
146 box.classList.add("hide");
147 restoreTheme();
148 setTimeout(() => {
149 document.body.removeChild(box);
150 document.body.removeChild(mask);
151 if (typeof onhide === "function") onhide();
152 }, 300);
153 }
154
155 function hide() {
156 actionStack.remove("box");

Callers 2

hideFunction · 0.85
select.jsFile · 0.85

Calls 3

restoreThemeFunction · 0.85
addMethod · 0.80
onhideFunction · 0.70

Tested by

no test coverage detected