Skip to content

Commit

Permalink
Update build/media_source/com_templates/js/admin-template-toggle-assi…
Browse files Browse the repository at this point in the history
…gnment.es6.js

Co-authored-by: Dimitris Grammatikogiannis <dg@dgrammatiko.dev>
  • Loading branch information
C-Lodder and dgrammatiko committed Feb 9, 2024
1 parent 22a7bc0 commit bc8fe00
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ Joomla = window.Joomla || {};

((Joomla) => {
Joomla.toggleAll = () => {
document.querySelectorAll('.chk-menulink').forEach((checkBox) => {
checkBox.checked = !checkBox.checked;
});
document.querySelectorAll('.chk-menulink').forEach((checkBox) => checkBox.checked = !checkBox.checked);
};

Joomla.toggleMenutype = (a) => {
Expand Down

0 comments on commit bc8fe00

Please sign in to comment.