Still call callback once avatar is loaded
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
a118817a69
commit
6b5e3a9365
|
@ -143,6 +143,10 @@
|
|||
$div.text('');
|
||||
$div.append(img);
|
||||
$div.clearimageplaceholder();
|
||||
|
||||
if(typeof callback === 'function') {
|
||||
callback();
|
||||
}
|
||||
};
|
||||
|
||||
$div.addClass('icon-loading');
|
||||
|
|
Loading…
Reference in New Issue