fixed ACP online count

This commit is contained in:
Julian Lam
2014-01-16 17:22:11 -05:00
parent e5c8caf5ff
commit 765402a2a0
2 changed files with 2 additions and 2 deletions

View File

@@ -25,7 +25,7 @@ define(function() {
for (var room in data) {
if (room !== '') {
var count = data[room].length;
var count = $(data[room]).length;
total += count;
active_users.innerHTML = active_users.innerHTML + "<div class='alert alert-success'><strong>" + room + "</strong> " + count + " active user" + (count > 1 ? "s" : "") + "</div>";
}