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

Function hidePrompt

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

Source from the content-addressed store, hash-verified

136 if ($focusEl) $focusEl.focus();
137
138 function hidePrompt() {
139 $promptDiv.classList.add("hide");
140 restoreTheme();
141 setTimeout(() => {
142 if ($promptDiv.isConnected) $promptDiv.remove();
143 if ($mask.isConnected) $mask.remove($mask);
144 }, 300);
145 }
146
147 function hide() {
148 actionStack.remove("prompt");

Callers 1

hideFunction · 0.70

Calls 3

restoreThemeFunction · 0.85
addMethod · 0.80
removeMethod · 0.45

Tested by

no test coverage detected