This commit is contained in:
2026-10-21 11:53:48 -04:00
parent 02e7bcf293
commit ec36013313
4 changed files with 81 additions and 7 deletions
+1 -1
View File
@@ -17,7 +17,6 @@ function renderSections() {
"leaderboard-section": true,
"stats-section": statsLoaded,
rules: true,
"mailing-list": !!token && !subscribed,
"share-controls": !!currentShareText,
more: true,
donate: true,
@@ -32,6 +31,7 @@ function renderSections() {
document.querySelectorAll("[data-panel]").forEach((panel) => {
panel.hidden = panel.id !== selectedSection;
});
$("mailing-list").hidden = !token || subscribed;
$("section-hint").hidden = selectedSection !== null;
}