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