diff options
Diffstat (limited to 'core/js/jquery.avatar.js')
-rw-r--r-- | core/js/jquery.avatar.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/js/jquery.avatar.js b/core/js/jquery.avatar.js index b44fe5fd631..0d4c063a91a 100644 --- a/core/js/jquery.avatar.js +++ b/core/js/jquery.avatar.js @@ -140,12 +140,13 @@ // If the new image loads successfully set it. img.onload = function() { - $div.show(); $div.text(''); $div.append(img); $div.clearimageplaceholder(); }; + $div.addClass('icon-loading'); + $div.show(); img.width = size; img.height = size; img.src = url; |