Commit graph

15 commits

Author SHA1 Message Date
26a6928a20
Add prototype Stripe sustainer payment workflow 2024-09-05 09:35:24 +10:00
a2f38653fb
Fix trailing whitespace and missing end-of-file newline 2024-07-22 18:39:05 +10:00
44c0a9db32
Remove remaining jQuery
This avoids every page on the site parsing 250KB of JavaScript.

supporter-page.js isn't the most elegant code, but at least it's a little more
modular now and no longer user jQuery.
2024-05-09 22:15:33 +10:00
10dfdb617b
Convert further jQuery to plain JS 2024-05-09 15:43:53 +10:00
ccc036d631
Fix JS error 2024-05-09 14:10:10 +10:00
73e30c30e8
Further split up the supporter JS into functions 2024-05-09 14:06:39 +10:00
8a9f796eb1
Replace complex expanding JS with native <details> elements
Have retained the "expand all" behaviour - just with less code.
2024-05-09 13:53:50 +10:00
fb690c1676
Fix shirt size for monthly an annual renew 2024-05-08 18:05:27 +10:00
0d25e1a87d
Remove use of jQuery in conservancy.js
This is the first step towards removing jQuery from the site.
2024-05-08 17:23:45 +10:00
7b1ffebcfb
Add "use strict" on JS 2024-05-07 11:00:14 +10:00
83b05a3ae2
Begin jQuery removal 2024-05-07 10:46:34 +10:00
37c9f0f282
Remove nesting of hidden sections on sustainer page
This makes the page more similar to how it has worked in previous years.
2023-11-23 14:41:27 +11:00
e3a8c4bd70
Fix the sustainer page expanding sections when no URL fragment provided 2023-11-22 22:17:59 +11:00
a557f2b335
Fix "expand all sections" second link
Issue was that the jQuery is using .children() to add the event handlers but due
to some changes to the HTML, the second link is no longer a direct child. I've
switched this to .find() instead.
2023-11-22 10:38:37 +11:00
ce6be591bd
Rename "www" directory to "conservancy" 2023-10-25 13:01:21 +11:00