diff options
Diffstat (limited to 'core/js/jquery.avatar.js')
-rw-r--r-- | core/js/jquery.avatar.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/jquery.avatar.js b/core/js/jquery.avatar.js index b0d1ca7d88f..552657877e7 100644 --- a/core/js/jquery.avatar.js +++ b/core/js/jquery.avatar.js @@ -77,7 +77,7 @@ var url = OC.generateUrl( '/avatar/{user}/{size}', - {user: user, size: size * window.devicePixelRatio}); + {user: user, size: Math.ceil(size * window.devicePixelRatio)}); $.get(url, function(result) { if (typeof(result) === 'object') { |