Skip to content

Commit

Permalink
Add 'coming soon' text to the spicy battle player search
Browse files Browse the repository at this point in the history
  • Loading branch information
Patgar1 committed Oct 12, 2024
1 parent 173067d commit 1589339
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spicybattle.html
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,6 @@ <h1>Spicy Battle</h1>
async function createGlobalStats(sorting) {
try {
const data = await getSortedChampStatsArray(sorting);
console.log(data);
const globalStatsSection = document.getElementById('global-stats-section');
const parentDiv = document.createElement('div');
parentDiv.setAttribute('id', `${sorting}`);
Expand Down Expand Up @@ -628,6 +627,9 @@ <h1>Spicy Battle</h1>
case 'leaderboard-section':
clickedSection.style.display = 'block';
break;

case 'player-search-section':
clickedSection.style.display = 'block';
}
}
});
Expand Down

0 comments on commit 1589339

Please sign in to comment.