mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/13939] Check if loadingIndicator exists before accessing it
PHPBB3-13939
This commit is contained in:
parent
2c65b9b133
commit
5170cd67fb
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ phpbb.alert.open = function($alert) {
|
|||
$dark.fadeIn(phpbb.alertTime);
|
||||
}
|
||||
|
||||
if ($loadingIndicator.is(':visible')) {
|
||||
if ($loadingIndicator && $loadingIndicator.is(':visible')) {
|
||||
$loadingIndicator.fadeOut(phpbb.alertTime, function() {
|
||||
$dark.append($alert);
|
||||
$alert.fadeIn(phpbb.alertTime);
|
||||
|
|
Loading…
Add table
Reference in a new issue