CoreFiles by mySites.guru
admin-multilangstatus.js26 lines, 865 bytes, from Joomla_4.0.0-beta6-Beta-Full_Package.zip
Raw History Compare with 4.0.0-beta5
md5
446132ed1d4531864fbc465cf2734021
sha1
63576b106a951966a56dcd7ef9559b489c93ee8c
sha256
9e0f16ac304423f05ea771579aab3e264adc7a5ab4ea96fc3ce365cda17b1f82
/**
* 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
 */
(function () {
  'use strict';

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

    if (multilangueModal) {
      // Clone the modal element
      var 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.