CoreFiles by mySites.guru
admin-cache-default.es6.js24 lines, 679 bytes, from Joomla_4.0.0-beta1-Beta-Full_Package.zip
Raw History Compare with 3.9.0-beta4
md5
bc00b2de820efb3535b70bad99c23618
sha1
d2fea02c59bb97a6275c89427c745028e40ddcf4
sha256
59c5497a201c5ca5cb2a8474ed4f29d96896ac9fd162a03e8970b386ccaa599c
/**
* 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 - 2020 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */
Joomla = window.Joomla || {};

((document, Joomla) => {
  'use strict';

  document.addEventListener('DOMContentLoaded', () => {
    [].slice.call(document.querySelectorAll('.cache-entry')).forEach(el => {
      el.addEventListener('click', ({
        currentTarget
      }) => {
        Joomla.isChecked(currentTarget.checked);
      });
    });
  });
})(document, Joomla);

The same content is in 5 releases, Joomla 4.0.0-beta to 4.0.0-beta5. See them all, or every version of this file.