mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-06-15 18:54:47 -04:00
Build 29092809
This commit is contained in:
parent
e2d8a0ab5c
commit
30e684e838
12 changed files with 124 additions and 96 deletions
|
@ -1,5 +1,6 @@
|
|||
import { t } from "./i18n/i18n";
|
||||
import { isOptionOn } from "./options";
|
||||
import { hideAnyTooltip } from "./tooltip";
|
||||
|
||||
export let alertsOpen = 0,
|
||||
closeModal: null | (() => void) = null;
|
||||
|
@ -45,6 +46,7 @@ export async function asyncAlert<t>({
|
|||
allowClose?: boolean;
|
||||
className?: string;
|
||||
}): Promise<t | void> {
|
||||
hideAnyTooltip();
|
||||
updateAlertsOpen(+1);
|
||||
return new Promise((resolve) => {
|
||||
popupWrap.className = className;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue