mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-05-31 21:22:20 -05:00
Fix bug with teambuilder tiers
This commit is contained in:
parent
59462b4573
commit
56a6933336
|
|
@ -797,7 +797,7 @@
|
|||
}
|
||||
var id = toId(name);
|
||||
var isTeambuilderFormat = challengeShow && searchShow && !team;
|
||||
var teambuilderFormat;
|
||||
var teambuilderFormat = undefined;
|
||||
if (isTeambuilderFormat) {
|
||||
var parenPos = name.indexOf('(');
|
||||
if (parenPos > 0 && name.charAt(name.length-1) === ')') {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user