This commit is contained in:
Renan LE CARO 2025-05-03 16:42:03 +02:00
parent ca1c75a5a1
commit 94ffb80f49
19 changed files with 186 additions and 73 deletions

View file

@ -12,6 +12,7 @@ export type AsyncAlertAction<t> = {
disabled?: boolean;
icon?: string;
className?: string;
actionLabel?: string;
};
const popupWrap = document.getElementById("popup") as HTMLDivElement;
@ -163,7 +164,7 @@ function addButton<t>(
addto.appendChild(buttonWrap);
if (actionLabel) {
buttonWrap.className = className;
buttonWrap.className = className + " upgrade";
buttonWrap.innerHTML = icon;