mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-12 08:55:47 +01:00
set back to false when loading indicator fades out
This commit is contained in:
@@ -1292,8 +1292,11 @@ define(['composer', 'forum/pagination'], function(composer, pagination) {
|
||||
tid: tid,
|
||||
after: after
|
||||
}, function (err, data) {
|
||||
infiniteLoaderActive = false;
|
||||
indicatorEl.fadeOut();
|
||||
|
||||
indicatorEl.fadeOut(function() {
|
||||
infiniteLoaderActive = false;
|
||||
});
|
||||
|
||||
if(err) {
|
||||
return app.alertError(err.message);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user