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

Function hideAlert

src/dialogs/alert.js:60–67  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

58 restoreTheme(true);
59
60 function hideAlert() {
61 alertDiv.classList.add("hide");
62 restoreTheme();
63 setTimeout(() => {
64 app.removeChild(alertDiv);
65 app.removeChild(mask);
66 }, 300);
67 }
68
69 function hide() {
70 if (onhide) onhide();

Callers 1

hideFunction · 0.70

Calls 2

restoreThemeFunction · 0.85
addMethod · 0.80

Tested by

no test coverage detected