diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2017-12-14 10:10:11 +0100 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2017-12-19 18:49:26 +0100 |
commit | 6b5e3a936584add25af32c73bf49d0a8e6288e9a (patch) | |
tree | 9a13089e37ad2789d856e81b00fa85afa2101837 /core/js | |
parent | a118817a69e123b74a48b0c85df15da3487ff070 (diff) | |
download | nextcloud-server-6b5e3a936584add25af32c73bf49d0a8e6288e9a.tar.gz nextcloud-server-6b5e3a936584add25af32c73bf49d0a8e6288e9a.zip |
Still call callback once avatar is loaded
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'core/js')
-rw-r--r-- | core/js/jquery.avatar.js | 4 |
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'); |