Merge pull request #24 from Freigeist/patch2

Fixing /ladder command
This commit is contained in:
Guangcong Luo 2013-05-19 03:03:33 -07:00
commit 56a6dba7c7

View File

@ -1360,7 +1360,7 @@ function Lobby(id, elem) {
for (var i=0; i<data.length; i++) {
var row = data[i];
buffer += '<tr><td>'+row.formatid+'</td><td><strong>'+Math.round(row.acre)+'</strong></td><td>'+Math.round(row.gxe,1)+'</td><td>';
if (row.rprd > 50) {
if (row.rprd > 100) {
buffer += '<span><em>'+Math.round(row.rpr)+'<small> &#177; '+Math.round(row.rprd)+'</small></em> <small>(provisional)</small></span>';
} else {
buffer += '<em>'+Math.round(row.rpr)+'<small> &#177; '+Math.round(row.rprd)+'</small></em>';