Skip to content

Commit

Permalink
Fix unstyled buttons in teams dropdown (#2178)
Browse files Browse the repository at this point in the history
  • Loading branch information
shrianshChari authored Nov 16, 2023
1 parent 3d1623b commit ae7c61f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion play.pokemonshowdown.com/js/client-mainmenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -1449,7 +1449,7 @@
if ((!teams[i].format && !teamFormat) || teams[i].format === teamFormat) {
var selected = (i === curTeam);
if (!this.folderToggleOn) {
bufs[curBuf] += '<li><button name="selectTeam" value="' + i + '" class="option' + (selected ? 'sel' : '') + '">' + BattleLog.escapeHTML(teams[i].name) + '</button></li>';
bufs[curBuf] += '<li><button name="selectTeam" value="' + i + '" class="option' + (selected ? ' cur' : '') + '">' + BattleLog.escapeHTML(teams[i].name) + '</button></li>';
count++;
if (count % bufBoundary === 0 && curBuf < 4) curBuf++;
} else {
Expand Down

0 comments on commit ae7c61f

Please sign in to comment.