From a2c11649e70c86692b685876559bd648e306e295 Mon Sep 17 00:00:00 2001 From: Magnus Singer Date: Sun, 17 Apr 2022 15:05:06 +0200 Subject: [PATCH] fix issue #37516 --- build/media_source/com_installer/js/installer.es6.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/media_source/com_installer/js/installer.es6.js b/build/media_source/com_installer/js/installer.es6.js index caa8ca66df49f..2af938ff76f76 100644 --- a/build/media_source/com_installer/js/installer.es6.js +++ b/build/media_source/com_installer/js/installer.es6.js @@ -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'; } }); })();