UI updates and remove CSP for plugins

This commit is contained in:
KingKDot
2026-05-15 11:52:26 -05:00
parent da3bec8de1
commit 12972d6e8b
7 changed files with 86 additions and 63 deletions
@@ -124,7 +124,7 @@ if (typeof anime !== "undefined") {
form?.addEventListener("submit", async (e) => {
e.preventDefault();
errEl.textContent = "";
successEl.style.display = "none";
successEl.textContent = "";
if (newPass.value !== confirmPass.value) {
errEl.textContent = "New passwords do not match";
@@ -164,19 +164,14 @@ form?.addEventListener("submit", async (e) => {
sessionStorage.removeItem("temp_user");
successEl.textContent = "Password changed successfully! Redirecting...";
successEl.style.opacity = "0";
successEl.style.display = "block";
if (typeof anime !== "undefined") {
anime({
targets: successEl,
opacity: [0, 1],
translateY: [-5, 0],
duration: 400,
easing: "easeOutQuad",
});
} else {
successEl.style.opacity = "1";
}
setTimeout(() => {