refactor/significant-changes #3

Merged
mkelvers merged 71 commits from refactor/significant-changes into main 2026-05-14 11:25:25 +00:00
Showing only changes of commit d00f9493af - Show all commits

View File

@@ -29,7 +29,7 @@ const showToast = ({ message, duration = 3000 }: ToastOptions): void => {
return;
}
const toast = template.content.cloneNode(true).firstElementChild as HTMLElement;
const toast = (template.content.cloneNode(true) as DocumentFragment).firstElementChild as HTMLElement;
if (!toast) return;
const messageEl = toast.querySelector('.toast-message');
const closeBtn = toast.querySelector('.toast-close');