diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2017-05-03 14:44:23 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2017-05-08 11:20:49 +0200 |
commit | 34d97aa51c5e7ddb638aeb105a590ae159a34abe (patch) | |
tree | f12a75cea6ae2bd53695c3d414e7f60cde5e2e1d /core/js | |
parent | dd430c2fd72e2d77d69ab93090b5fb6ea6ba76a6 (diff) | |
download | nextcloud-server-34d97aa51c5e7ddb638aeb105a590ae159a34abe.tar.gz nextcloud-server-34d97aa51c5e7ddb638aeb105a590ae159a34abe.zip |
Request proper size for contacts menu
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'core/js')
-rw-r--r-- | core/js/contactsmenu.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/js/contactsmenu.js b/core/js/contactsmenu.js index 9ce27509e8b..3da6ea127cd 100644 --- a/core/js/contactsmenu.js +++ b/core/js/contactsmenu.js @@ -50,7 +50,8 @@ + '</div>'; var CONTACT_TEMPLATE = '' + '{{#if contact.avatar}}' - + '<img src="{{contact.avatar}}" class="avatar">' + + '<img src="{{contact.avatar}}&size=32" class="avatar"' + + 'srcset="{{contact.avatar}}&size=32 1x, {{contact.avatar}}&size=64 2x, {{contact.avatar}}&size=128 4x">' + '{{else}}' + '<div class="avatar"></div>' + '{{/if}}' |