first commit
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
* @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);
|
||||
@@ -0,0 +1 @@
|
||||
Joomla=window.Joomla||{},((e,c)=>{e.addEventListener("DOMContentLoaded",(()=>{[].slice.call(e.querySelectorAll(".cache-entry")).forEach((e=>{e.addEventListener("click",(({currentTarget:e})=>{c.isChecked(e.checked)}))}))}))})(document,Joomla);
|
||||
Binary file not shown.
Reference in New Issue
Block a user