From b7dee832da72f9331a5c882b3e120e89a0431270 Mon Sep 17 00:00:00 2001 From: Stephan Yelle Date: Mon, 6 Jan 2025 23:32:38 -0500 Subject: [PATCH] Update TGBeta.ps1 --- TGBeta.ps1 | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/TGBeta.ps1 b/TGBeta.ps1 index 5084cbc..999d778 100644 --- a/TGBeta.ps1 +++ b/TGBeta.ps1 @@ -652,16 +652,13 @@ function GetHtmlContent { const n8nPasswordContainer = document.getElementById('n8nPasswordContainer'); const dattoRMMContainer = document.getElementById('DattoRMMContainer'); - // Set the checked state of all checkboxes to match the "Select All" checkbox - checkboxes.forEach(checkbox => { - checkbox.checked = selectAllCheckbox.checked; - }); + - // checkboxes.forEach(checkbox => { - // if (checkbox !== selectedCheckbox) { - // checkbox.checked = selectedCheckbox.checked; - // } - // }); + checkboxes.forEach(checkbox => { + if (checkbox !== selectedCheckbox) { + checkbox.checked = selectedCheckbox.checked; + } + }); if (dattoRMMCheckbox.checked) { optionsContainer.style.display = 'block';