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:
parent
c9bf006a09
commit
e4df5ea53f
@ -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')) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user