feature: blurbs

refactor: style updates and fixes
This commit is contained in:
Andy Burke 2025-09-23 17:13:51 -07:00
parent 591fd38088
commit cbd58071b8
9 changed files with 101 additions and 52 deletions

View file

@ -1,8 +1,7 @@
function smarten_forms() {
const forms = document.body.querySelectorAll("form[data-smart]:not([data-smartened])");
const forms = document?.body?.querySelectorAll("form[data-smart]:not([data-smartened])") ?? [];
for (const form of forms) {
async function on_submit(event) {
debugger;
event.preventDefault();
form.disabled = true;
form.__submitted_at = new Date();