Skip to content
Snippets Groups Projects
Unverified Commit 328047f6 authored by Roeland Jago Douma's avatar Roeland Jago Douma Committed by Julius Härtl
Browse files

Also do callback on the failing function

parent 4c3eb80a
No related branches found
No related tags found
No related merge requests found
...@@ -129,6 +129,10 @@ ...@@ -129,6 +129,10 @@
setAvatarForUnknownUser($div); setAvatarForUnknownUser($div);
$div.removeClass('icon-loading'); $div.removeClass('icon-loading');
} }
if(typeof callback === 'function') {
callback();
}
}; };
$div.addClass('icon-loading'); $div.addClass('icon-loading');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment