29
0
mirror of https://github.com/joomla/joomla-cms.git synced 2024-06-26 07:13:21 +00:00

Show loading view in installer component properly (#37570)

This commit is contained in:
Magnus Singer 2022-04-19 13:54:40 +02:00 committed by GitHub
parent bcd54b6c14
commit 620370754b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,12 +11,12 @@
const installer = document.getElementById('installer-install');
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.width = '100%';
loading.style.height = '100%';
loading.classList.add('hidden');
loading.style.marginTop = '-10px';
}
});
})();