mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-10-01 15:22:35 -05:00
Chart: Don't show negative numbers for CAPs
This commit is contained in:
@@ -145,7 +145,7 @@
|
||||
var buf = '<li class="result"><a'+attrs+' data-name="'+Tools.escapeHTML(pokemon.species)+'">';
|
||||
|
||||
// number
|
||||
buf += '<span class="col numcol">'+(pokemon.num)+'</span> ';
|
||||
buf += '<span class="col numcol">'+(pokemon.num>=0 ? pokemon.num : 'CAP')+'</span> ';
|
||||
|
||||
// icon
|
||||
buf += '<span class="col iconcol">';
|
||||
|
||||
Reference in New Issue
Block a user