Chart: Don't show negative numbers for CAPs

This commit is contained in:
Guangcong Luo
2013-04-21 01:52:42 -07:00
parent b4e97b2b7b
commit b7ab002fdb

View File

@@ -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">';