From 77d09f64e1f0bce451f66bb57775029dfdeb80ef Mon Sep 17 00:00:00 2001 From: yflory Date: Mon, 6 Mar 2017 14:56:41 +0100 Subject: [PATCH] Display anonymous users in the user list --- customize.dist/src/less/toolbar.less | 1 + customize.dist/toolbar.css | 1 + www/common/toolbar.js | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/customize.dist/src/less/toolbar.less b/customize.dist/src/less/toolbar.less index 4330c98af..6f0177bc0 100644 --- a/customize.dist/src/less/toolbar.less +++ b/customize.dist/src/less/toolbar.less @@ -312,6 +312,7 @@ //float: right; pre { white-space: pre; + margin: 0; } } button { diff --git a/customize.dist/toolbar.css b/customize.dist/toolbar.css index f8393a327..fb297eae7 100644 --- a/customize.dist/toolbar.css +++ b/customize.dist/toolbar.css @@ -378,6 +378,7 @@ } .cryptpad-toolbar-leftside .cryptpad-user-list pre { white-space: pre; + margin: 0; } .cryptpad-toolbar-leftside button { margin: 2px 4px 2px 0px; diff --git a/www/common/toolbar.js b/www/common/toolbar.js index 9f99e1046..4eaaf8ba6 100644 --- a/www/common/toolbar.js +++ b/www/common/toolbar.js @@ -296,7 +296,7 @@ define([ } if (anonymous > 0) { var text = anonymous === 1 ? Messages.anonymousUser : Messages.anonymousUsers; - $editUsers.push('' + anonymous + ' ' + text + ''); + $editUsers.append('' + anonymous + ' ' + text + ''); } if (numberOfViewUsers > 0) { var viewText = '';