CoreFiles by mySites.guru
admin-multilangstatus.es6.js26 lines, 857 bytes, from Joomla_4.0.0-beta6-Beta-Full_Package.zip
Raw History Compare with 4.0.0-beta5
md5
340a25426d2e2ed2947dcff632517273
sha1
5cb8b1c7e5e6623c43cde9bb2a12a1ef8c50aa17
sha256
b4c024b27359b99a7c5dbd0c4a72e9c7007885c4fc559299c7a624c1fdfdb017
/**
* PLEASE DO NOT MODIFY THIS FILE. WORK ON THE ES6 VERSION.
* OTHERWISE YOUR CHANGES WILL BE REPLACED ON THE NEXT BUILD.
**/

/**
 * @copyright  (C) 2018 Open Source Matters, Inc. <https://www.joomla.org>
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */
(() => {
  'use strict';

  document.addEventListener('DOMContentLoaded', () => {
    // We need to use JS to move the modal before the closing body tag to avoid stacking issues
    const multilangueModal = document.getElementById('multiLangModal');

    if (multilangueModal) {
      // Clone the modal element
      const clone = multilangueModal.cloneNode(true); // Remove the original modal element

      multilangueModal.parentNode.removeChild(multilangueModal); // Append clone before closing body tag

      document.body.appendChild(clone);
    }
  });
})();

No other release has this exact content. See every version of this file.