From fab22f5570427b3338bb176c4f83981f6f773a07 Mon Sep 17 00:00:00 2001 From: Stephan Yelle Date: Mon, 27 Jan 2025 22:38:51 -0500 Subject: [PATCH] Update TGBeta.ps1 --- TGBeta.ps1 | 18 ------------------ 1 file changed, 18 deletions(-) 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"]');