diff --git a/index.html b/index.html index de39081..e1bd50e 100644 --- a/index.html +++ b/index.html @@ -770,10 +770,11 @@ function getMediaURL(path) { await loadUserData(); loadVerifiedUsers(); setupEventListeners(); - fetchProposals(); - fetchLeaderboard(); - fetchStats(); + await Promise.allSettled([fetchProposals(), fetchLeaderboard(), fetchStats()]); checkForProposalInUrl(); + if (window.location.hash === '#join') { + document.getElementById('join')?.scrollIntoView({ behavior: 'smooth' }); + } } // Update UI text for petition system