set back to false when loading indicator fades out

This commit is contained in:
Baris Soner Usakli
2014-03-06 20:53:41 -05:00
parent 6a824a2e10
commit 30130b2d62

View File

@@ -1292,8 +1292,11 @@ define(['composer', 'forum/pagination'], function(composer, pagination) {
tid: tid, tid: tid,
after: after after: after
}, function (err, data) { }, function (err, data) {
infiniteLoaderActive = false;
indicatorEl.fadeOut(); indicatorEl.fadeOut(function() {
infiniteLoaderActive = false;
});
if(err) { if(err) {
return app.alertError(err.message); return app.alertError(err.message);
} }