Commit graph

7 commits

Author SHA1 Message Date
828d2179e3 Further split up the supporter JS into functions 2024-05-09 14:06:39 +10:00
b15c96e25a 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
dc005dcf07 Add "use strict" on JS 2024-05-07 11:00:14 +10:00
633e96b1ec 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
af80e1411f Fix the sustainer page expanding sections when no URL fragment provided 2023-11-22 22:17:59 +11:00
09c9364486 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
49ab5aafb4 Rename "www" directory to "conservancy" 2023-10-25 13:01:21 +11:00
Renamed from www/static/js/supporter-page.js (Browse further)