CoreFiles by mySites.guru
installer.js20 lines, 669 bytes, from Joomla_4.0.3-Stable-Full_Package.zip
Raw History Compare with 4.0.2
md5
493636fe8950a7bee00681d5e11d3516
sha1
0752ec318b7d4527d509f4aa2274ec178aa92715
sha256
7fe6afa91d3bd77ff817f43ca8c8cb01fd0ffc6a6f89d4a5c71c80388c61f024
/**
 * @copyright   (C) 2018 Open Source Matters, Inc. <https://www.joomla.org>
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */
(() => {

  document.addEventListener('DOMContentLoaded', () => {
    const loading = document.getElementById('loading');
    const installer = document.getElementById('installer-install');

    if (loading && installer) {
      loading.style.top = parseInt(installer.offsetTop - window.pageYOffset, 10);
      loading.style.left = 0;
      loading.style.width = '100%';
      loading.style.height = '100%';
      loading.classList.add('hidden');
      loading.style.marginTop = '-10px';
    }
  });
})();

The same content is in 39 releases, Joomla 4.0.0-rc1 to 4.2.0-alpha2. See them all, or every version of this file.