Don't just show "" when we have counts but no rates.

This commit is contained in:
Simon MacMullen 2010-10-20 11:38:05 +01:00
parent bac2228999
commit 5a043f2a7a
1 changed files with 4 additions and 0 deletions

View File

@ -131,6 +131,10 @@ function message_rates(stats) {
res += 'msg/s</div>';
}
}
if (res == "") {
res = '<p>Waiting for message rates...</p>';
}
}
else {
res = '<p>Currently idle</p>';