Fix contact/enroll confirmation being hidden along with the form it lived inside
deploy / deploy (push) Successful in 3s

Both forms nested their status message as a child of the <form>, so
form.hidden = true on success hid the confirmation right along with it —
looked like nothing happened. Contact form now resets and stays usable
(you can send another message) instead of disappearing; enroll form still
hides after signup (no reason to sign up twice), but its confirmation is
now a sibling so it actually stays visible.

Also generalized the privacy policy's language from being anchored on
email courses specifically to covering any use of the site.
This commit is contained in:
2026-07-08 18:12:39 -04:00
parent 46ae1ac430
commit cf87ca5658
3 changed files with 21 additions and 20 deletions
+1 -1
View File
@@ -13,8 +13,8 @@
</div>
<button type="submit" class="btn">Send me day one</button>
<p id="enroll-status" role="status" style="margin-top:1rem;"></p>
</form>
<p id="enroll-status" role="status" style="margin-top:1rem;"></p>
<script>
(function () {