diff --git a/controlpanel/frontend/static/javascripts/modules/toggle-checkbox-form.js b/controlpanel/frontend/static/javascripts/modules/toggle-checkbox-form.js index 1b5bb8e7e..c63410e6b 100644 --- a/controlpanel/frontend/static/javascripts/modules/toggle-checkbox-form.js +++ b/controlpanel/frontend/static/javascripts/modules/toggle-checkbox-form.js @@ -6,7 +6,6 @@ moj.Modules.toggleCheckboxForm = { init() { const panels = document.querySelectorAll(`.${this.subFormClass}`); if (panels) { - console.log(panels); this.bindEvents(panels); } }, @@ -14,12 +13,8 @@ moj.Modules.toggleCheckboxForm = { bindEvents(panels) { panels.forEach(panel => { - console.log(panel); - console.log(this.selector); const attribute = panel.getAttribute(this.selector); - console.log(attribute); var formItem = document.querySelector(`[value=${attribute}]`); - console.log(formItem); this.setVisibility(panel, formItem.checked);