1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-02 23:07:39 +02:00

Merge pull request #3741 from rxu/ticket/13984

[ticket/13984] Fix the call of Ajax loading indicator
This commit is contained in:
Marc Alexander
2015-07-10 13:13:20 +02:00

View File

@@ -394,8 +394,11 @@ phpbb.ajaxify = function(options) {
error: errorHandler, error: errorHandler,
cache: false cache: false
}); });
request.always(function() { request.always(function() {
$loadingIndicator.fadeOut(phpbb.alertTime); if ($loadingIndicator && $loadingIndicator.is(':visible')) {
$loadingIndicator.fadeOut(phpbb.alertTime);
}
}); });
}; };