Build 29092809

This commit is contained in:
Renan LE CARO 2025-04-25 10:10:09 +02:00
parent e2d8a0ab5c
commit 30e684e838
12 changed files with 124 additions and 96 deletions

View file

@ -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;