Use inner-text for active users count.

Change-Id: I54c4819f463e6b340e66968fb6b223414da6fa18
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
This commit is contained in:
Michael Meeks 2021-09-27 17:38:10 +01:00
parent b0cdcc8487
commit 207715dd3d

View file

@ -299,7 +299,7 @@ var AdminSocketOverview = AdminSocketBase.extend({
upsertDocsTable(docProps, docProps['sName'], this.socket, docProps['wopiHost']);
upsertUsersTable(docProps['pid'], docProps['sName'], [docProps], docProps['wopiHost']);
document.getElementById('active_docs_count').innerText = String(parseInt(document.getElementById('active_docs_count').innerText) + 1);
document.getElementById('active_users_count').innerText = String(parseInt(document.getElementById('active_users_count')) + 1);
document.getElementById('active_users_count').innerText = String(parseInt(document.getElementById('active_users_count').innerText) + 1);
}
else if (textMsg.startsWith('mem_consumed') ||
textMsg.startsWith('active_docs_count') ||