This commit is contained in:
Renan LE CARO 2025-04-30 09:44:14 +02:00
parent 4c66cc820c
commit cee5c6bc60
28 changed files with 948 additions and 344 deletions

View file

@ -101,8 +101,8 @@ export async function asyncAlert<t>({
popup.appendChild(addto);
}
const buttonWrap = document.createElement("div")
addto.appendChild(buttonWrap)
const buttonWrap = document.createElement("div");
addto.appendChild(buttonWrap);
const {
text,
@ -136,7 +136,9 @@ ${icon}
}
button.className =
className + (lastClickedItemIndex === index ? " needs-focus" : "")+' choice-button';
className +
(lastClickedItemIndex === index ? " needs-focus" : "") +
" choice-button";
buttonWrap.appendChild(button);