summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/js/jquery.avatar.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/js/jquery.avatar.js b/core/js/jquery.avatar.js
index 0d4c063a91a..ae678f17ff8 100644
--- a/core/js/jquery.avatar.js
+++ b/core/js/jquery.avatar.js
@@ -143,6 +143,10 @@
$div.text('');
$div.append(img);
$div.clearimageplaceholder();
+
+ if(typeof callback === 'function') {
+ callback();
+ }
};
$div.addClass('icon-loading');