fix editor

This commit is contained in:
crispycat 2023-12-03 18:40:02 -05:00
parent bd55faf7bf
commit 04912a83ab

View File

@ -296,7 +296,7 @@ document.addEventListener("readystatechange", function(e) {
else if (e.target.readyState == "complete") {
window.throbber.style.display = "none";
let els = document.querySelectorAll("a:not([href^=\\#]), button[type=submit], input[type=submit]");
els.forEach((el) => el.onclick = () => window.throbber.style.display = "initial");
els.forEach((el) => el.addEventListener("click", () => window.throbber.style.display = "initial"));
}
});