Also do callback on the failing function
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
4c3eb80a91
commit
328047f638
1 changed files with 4 additions and 0 deletions
|
@ -129,6 +129,10 @@
|
|||
setAvatarForUnknownUser($div);
|
||||
$div.removeClass('icon-loading');
|
||||
}
|
||||
|
||||
if(typeof callback === 'function') {
|
||||
callback();
|
||||
}
|
||||
};
|
||||
|
||||
$div.addClass('icon-loading');
|
||||
|
|
Loading…
Reference in a new issue