fix edge cases, put toastr on a diet

This commit is contained in:
RossAscends
2025-05-21 15:35:12 +09:00
parent 87f547cd87
commit f145dfcb2d
3 changed files with 4 additions and 2 deletions

View File

@ -745,7 +745,7 @@ export function fixToastrForDialogs() {
toastContainer.remove();
} else {
document.body.appendChild(toastContainer);
toastContainer.classList.add('toast-top-center');
toastContainer.classList.add(toastr.options.positionClass);
}
}
}