From 7e2f0f2f7d5a3976faa4fbe37b349ed3ea7e5283 Mon Sep 17 00:00:00 2001 From: Matthew Ball <13823657+matthewrball@users.noreply.github.com> Date: Wed, 20 May 2026 18:12:27 -0700 Subject: [PATCH] Hide Next button when only one banner theme is active MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The themes array currently has all but one theme disabled for Impact Initiatives 2026. With a single active theme, the Next button does nothing — hide it while keeping Submit your own visible. --- js/themes.js | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/js/themes.js b/js/themes.js index ffbd12d98..7369095bc 100644 --- a/js/themes.js +++ b/js/themes.js @@ -585,11 +585,15 @@ docReady(function() { var bannerNext = document.getElementById('home-banner-info-next'); if(bannerNext) { - bannerNext.addEventListener('click', function(event) { - event.preventDefault(); + if(themes.length <= 1) { + bannerNext.style.display = 'none'; + } else { + bannerNext.addEventListener('click', function(event) { + event.preventDefault(); - applyNextTheme(); - }); + applyNextTheme(); + }); + } } } });