diff --git a/TGBeta.ps1 b/TGBeta.ps1 index 336d1cc..6e612c9 100644 --- a/TGBeta.ps1 +++ b/TGBeta.ps1 @@ -941,19 +941,6 @@ function GetHtmlContent { }); } - - function toggleTweaksCheckboxes(selectAllCheckbox) { - // Get all checkboxes inside the tweaksTab container - const checkboxes = document - .getElementById('tweaksTab') - .querySelectorAll('input[type="checkbox"]:not(#selectAllTweaksCheckbox)'); - - // Set the checked state of all checkboxes to match the "Select All" checkbox - checkboxes.forEach(checkbox => { - checkbox.checked = selectAllCheckbox.checked; - }); - } - function toggleRadioButtons(checkbox) { const radioGroup = document.getElementById("windowsPerformanceOptions"); if (checkbox.checked) { @@ -969,11 +956,6 @@ function GetHtmlContent { } } - // Attach the updateSelectAllTweaks function to all individual checkboxes - document.querySelectorAll('#tweaksTab input[type="checkbox"]:not(#selectAllTweaksCheckbox)').forEach(checkbox => { - checkbox.addEventListener('change', updateSelectAllTweaks); - }); - function triggerTweaks() { const setedgedefaultsearch = document.querySelector('input[name="setedgedefaultsearch"]');