19 lines
522 B
JavaScript
19 lines
522 B
JavaScript
/**
|
|
* @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);
|