mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-24 06:51:23 +08:00
Add thin space for ar lang (Fix bug 66502)
This commit is contained in:
@ -1183,7 +1183,7 @@ Common.Utils.getUserInitials = function(username) {
|
||||
for (var i = fio.length-1; i>0; i--) {
|
||||
if (fio[i][0]!=='(' && fio[i][0]!==')') {
|
||||
if (/[\u0600-\u06FF]/.test(initials))
|
||||
initials += ' ';
|
||||
initials += '\u2009';
|
||||
initials += fio[i].substring(0, 1).toUpperCase();
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user