mirror of
https://github.com/joomla/joomla-cms.git
synced 2024-06-29 00:23:41 +00:00
Show loading view in installer component properly (#37570)
This commit is contained in:
parent
bcd54b6c14
commit
620370754b
|
@ -11,12 +11,12 @@
|
||||||
const installer = document.getElementById('installer-install');
|
const installer = document.getElementById('installer-install');
|
||||||
|
|
||||||
if (loading && installer) {
|
if (loading && installer) {
|
||||||
loading.style.top = parseInt(installer.offsetTop - window.pageYOffset, 10);
|
loading.style.position = 'absolute';
|
||||||
|
loading.style.top = 0;
|
||||||
loading.style.left = 0;
|
loading.style.left = 0;
|
||||||
loading.style.width = '100%';
|
loading.style.width = '100%';
|
||||||
loading.style.height = '100%';
|
loading.style.height = '100%';
|
||||||
loading.classList.add('hidden');
|
loading.classList.add('hidden');
|
||||||
loading.style.marginTop = '-10px';
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
})();
|
})();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user