diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2016-11-22 17:08:28 +0100 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2016-11-22 17:08:28 +0100 |
commit | 298cd0f1f8b38f5da3d9a17fd22479e329eaf7d0 (patch) | |
tree | d35e2cdf6e72746c9cd261eba52facb33c2697dd /core/js/jquery.avatar.js | |
parent | e0d01e4768a1679701b9466ff3ff780280d5415d (diff) | |
download | nextcloud-server-298cd0f1f8b38f5da3d9a17fd22479e329eaf7d0.tar.gz nextcloud-server-298cd0f1f8b38f5da3d9a17fd22479e329eaf7d0.zip |
use ? instead of X for avatar name fallback
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'core/js/jquery.avatar.js')
-rw-r--r-- | core/js/jquery.avatar.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/js/jquery.avatar.js b/core/js/jquery.avatar.js index 754400acd7b..1abe70b79ea 100644 --- a/core/js/jquery.avatar.js +++ b/core/js/jquery.avatar.js @@ -29,7 +29,7 @@ * 3. $('.avatardiv').avatar(); * This will search the DOM for 'user' data, to use as the username. If there * is no username available it will default to a placeholder with the value of - * "x". The size will be determined the same way, as the second example. + * "?". The size will be determined the same way, as the second example. * * 4. $('.avatardiv').avatar('jdoe', 128, true); * This will behave like the first example, except it will also append random @@ -65,7 +65,7 @@ if (typeof(this.data('user')) !== 'undefined') { user = this.data('user'); } else { - this.imageplaceholder('x'); + this.imageplaceholder('?'); return; } } @@ -105,7 +105,7 @@ $div.imageplaceholder(user, result.data.displayname); } else { // User does not exist - $div.imageplaceholder(user, 'X'); + $div.imageplaceholder(user, '?'); $div.css('background-color', '#b9b9b9'); } } else { |