diff options
author | cyberalien <cyberalien@gmail.com> | 2015-06-12 21:26:12 +0300 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2015-06-13 15:42:30 +0200 |
commit | 5170cd67fbbb7c120a1321b24c9fa3dc1f0a6a5c (patch) | |
tree | 3376028793090e6f34648066c298e00b6485d6b0 | |
parent | 2c65b9b133ffc3ee958ce9d5a579f7d58741292d (diff) | |
download | forums-5170cd67fbbb7c120a1321b24c9fa3dc1f0a6a5c.tar forums-5170cd67fbbb7c120a1321b24c9fa3dc1f0a6a5c.tar.gz forums-5170cd67fbbb7c120a1321b24c9fa3dc1f0a6a5c.tar.bz2 forums-5170cd67fbbb7c120a1321b24c9fa3dc1f0a6a5c.tar.xz forums-5170cd67fbbb7c120a1321b24c9fa3dc1f0a6a5c.zip |
[ticket/13939] Check if loadingIndicator exists before accessing it
PHPBB3-13939
-rw-r--r-- | phpBB/assets/javascript/core.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/assets/javascript/core.js b/phpBB/assets/javascript/core.js index cc016e52ee..84e27c3a49 100644 --- a/phpBB/assets/javascript/core.js +++ b/phpBB/assets/javascript/core.js @@ -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); |