diff --git a/public/src/forum/topic.js b/public/src/forum/topic.js index a83e0493ce..6ccb865b07 100644 --- a/public/src/forum/topic.js +++ b/public/src/forum/topic.js @@ -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); }