fix: account username changing

This commit is contained in:
trisua 2025-05-12 21:06:22 -04:00
parent 65f59100ce
commit 08505c2403
4 changed files with 40 additions and 5 deletions

View file

@ -1036,7 +1036,13 @@ ${option.input_element_type === "textarea" ? `${option.value}</textarea>` : ""}
});
self.define("lightbox_close", () => {
document.getElementById("lightbox").classList.add("hidden");
document.getElementById("lightbox").style.animation =
"static_fadeout ease-in-out 1 0.1s forwards running";
setTimeout(() => {
document.getElementById("lightbox").removeAttribute("style");
document.getElementById("lightbox").classList.add("hidden");
}, 250);
});
})();