From c3da9239c587f467e9694240b06ff7276d7c2844 Mon Sep 17 00:00:00 2001 From: jamesstottmoj Date: Wed, 27 Nov 2024 16:04:43 +0000 Subject: [PATCH] removed logging from JS --- .../static/javascripts/modules/toggle-checkbox-form.js | 5 ----- 1 file changed, 5 deletions(-) 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);