CoreFiles by mySites.guru
admin-cache-default.js18 lines, 522 bytes, from Joomla_4.2.9-Stable-Full_Package.zip
Raw History Compare with 4.2.8
md5
b7fb8baf21d4d0ef775dcad83cfe91f9
sha1
7b4c1ff22226cd2af86b75ebd7110ed3a6784a91
sha256
4c97d846a336dae9094bbd7a747b079d674b398ddd7a14cdedb38ac965090d3c
/**
 * @copyright   (C) 2018 Open Source Matters, Inc. <https://www.joomla.org>
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */
Joomla = window.Joomla || {};

((document, Joomla) => {

  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 68 releases, Joomla 4.0.0-rc1 to 4.2.9. See them all, or every version of this file.