()
| 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(); |
no test coverage detected