1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-05 16:33:34 +02:00

[ticket/14095] Cleanup/simplify JS

PHPBB3-14095
This commit is contained in:
hanakin 2017-02-23 13:36:22 -05:00
parent c9bf006a09
commit e4df5ea53f

View File

@ -27,11 +27,7 @@ phpbb.isTouch = (window && typeof window.ontouchstart !== 'undefined');
*/
phpbb.loadingIndicator = function() {
if (!$loadingIndicator) {
$loadingIndicator = $('<div />', {
id: 'loading_indicator',
class: 'loading_indicator',
});
$loadingIndicator.appendTo('#page-footer');
$loadingIndicator = $('#loading_indicator');
}
if (!$loadingIndicator.is(':visible')) {