CoreFiles by mySites.guru
admin-multilangstatus.js26 lines, 878 bytes, from Joomla_4.0.0-alpha6-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha5
md5
5e3ef20857e66dfbb312a55b2b8f8b0d
sha1
e4039e9c7c1e1e809d1997d7c0f60bb2fac73e19
sha256
ab3b1a06922621184d659104db8a7e2180117ed72be0b91a939b7a1782c0e73c
/**
* PLEASE DO NOT MODIFY THIS FILE. WORK ON THE ES6 VERSION.
* OTHERWISE YOUR CHANGES WILL BE REPLACED ON THE NEXT BUILD.
**/

/**
 * @copyright  Copyright (C) 2005 - 2018 Open Source Matters, Inc. All rights reserved.
 * @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.