mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/14095] Cleanup/simplify JS
PHPBB3-14095
This commit is contained in:
parent
c9bf006a09
commit
e4df5ea53f
1 changed files with 1 additions and 5 deletions
|
@ -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…
Add table
Reference in a new issue