diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2020-07-31 09:26:43 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2020-07-31 09:26:43 +0200 |
commit | 0f8aca9d87db9022fe942a3d3fbb11433e152676 (patch) | |
tree | 5b36724719611ebb87b3d9290a51475f32b48e64 /core/src/jquery/avatar.js | |
parent | fc31cb8bf2d6cf7ee7af46af38e1b06002f7fb26 (diff) | |
download | nextcloud-server-0f8aca9d87db9022fe942a3d3fbb11433e152676.tar.gz nextcloud-server-0f8aca9d87db9022fe942a3d3fbb11433e152676.zip |
Bump compiled files
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core/src/jquery/avatar.js')
-rw-r--r-- | core/src/jquery/avatar.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/jquery/avatar.js b/core/src/jquery/avatar.js index 24cef392d34..8c17e65e98c 100644 --- a/core/src/jquery/avatar.js +++ b/core/src/jquery/avatar.js @@ -110,7 +110,7 @@ $.fn.avatar = function(user, size, ie8fix, hidedefault, callback, displayname) { url = OC.generateUrl( '/avatar/{user}/{size}?v={version}', { - user: user, + user, size: Math.ceil(size * window.devicePixelRatio), version: oc_userconfig.avatar.version, }) @@ -118,7 +118,7 @@ $.fn.avatar = function(user, size, ie8fix, hidedefault, callback, displayname) { url = OC.generateUrl( '/avatar/{user}/{size}', { - user: user, + user, size: Math.ceil(size * window.devicePixelRatio), }) } |