diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/view/FilesAppIntegration.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/view/FilesAppIntegration.js b/src/view/FilesAppIntegration.js index 1beab7e6..f6cba7d7 100644 --- a/src/view/FilesAppIntegration.js +++ b/src/view/FilesAppIntegration.js @@ -275,8 +275,9 @@ export default { const userId = (view.UserId === '') ? view.UserName : view.UserId var avatarContainer = $('<div class="richdocuments-avatar"><div class="avatar" title="' + view.UserName + '" data-user="' + userId + '"></div></div>') var avatar = avatarContainer.find('.avatar') + avatar.css({ - 'border-color': Number(view.Color).toString(16), + 'border-color': '#' + ('000000' + Number(view.Color).toString(16)).substr(-6), 'border-width': '2px', 'border-style': 'solid' }) |