From 94ffe5d170216ebcf94556ff10c37a889a3170e0 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Fri, 17 Oct 2014 23:04:50 -0400 Subject: [PATCH] closes #2276 --- public/src/admin/general/dashboard.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/public/src/admin/general/dashboard.js b/public/src/admin/general/dashboard.js index 50de4ec55e..a860b817df 100644 --- a/public/src/admin/general/dashboard.js +++ b/public/src/admin/general/dashboard.js @@ -125,20 +125,20 @@ define('admin/general/dashboard', ['semver'], function(semver) { return app.alertError(err.message); } - var html = '
' + - '
'+ data.onlineRegisteredCount +'
' + + var html = '
' + + '
'+ data.onlineRegisteredCount +'
' + '
Users
' + '
' + - '
' + - '
'+ data.onlineGuestCount +'
' + + '
' + + '
'+ data.onlineGuestCount +'
' + '
Guests
' + '
' + - '
' + - '
'+ (data.onlineRegisteredCount + data.onlineGuestCount) +'
' + + '
' + + '
'+ (data.onlineRegisteredCount + data.onlineGuestCount) +'
' + '
Total
' + '
' + - '
' + - '
'+ data.socketCount +'
' + + '
' + + '
'+ data.socketCount +'
' + '
Connections
' + '
'; @@ -359,7 +359,7 @@ define('admin/general/dashboard', ['semver'], function(semver) { segments = graphs.topics.segments; function reassignExistingTopics() { - for (var i = 0, ii = segments.length; i < ii; i++ ) { + for (var i = segments.length - 1; i >= 0; i--) { if (!segments[i]) { continue; }