diff --git a/TGBeta.ps1 b/TGBeta.ps1 index bd97b32..336d1cc 100644 --- a/TGBeta.ps1 +++ b/TGBeta.ps1 @@ -738,66 +738,81 @@ function GetHtmlContent {
-

Tweaks

-
- -
-

System Optimizations

-
- - - -
-
+

Tweaks

+
+ +
+

System Optimizations

+
+ + + + +
+
- -
-

Additional Tweaks

-
- - - -
-
+ +
+

Additional Tweaks

+
+ + + +
+
- -
-

Miscellaneous

-
- - -
-
-
+ +
+

Miscellaneous

+
+ + +
+
+
+ +
+ +
+
-
- -
-
@@ -939,14 +954,19 @@ function GetHtmlContent { }); } - function updateSelectAllTweaks() { - const selectAllCheckbox = document.getElementById('selectAllTweaksCheckbox'); - const checkboxes = document - .getElementById('tweaksTab') - .querySelectorAll('input[type="checkbox"]:not(#selectAllTweaksCheckbox)'); - - // If any checkbox is unchecked, uncheck "Select All" - selectAllCheckbox.checked = Array.from(checkboxes).every(checkbox => checkbox.checked); + function toggleRadioButtons(checkbox) { + const radioGroup = document.getElementById("windowsPerformanceOptions"); + if (checkbox.checked) { + radioGroup.style.display = "block"; + } else { + radioGroup.style.display = "none"; + // Optionally, reset the radio buttons to their default state + const radios = radioGroup.querySelectorAll('input[type="radio"]'); + radios.forEach(radio => { + radio.checked = false; + }); + radios[2].checked = true; // Reset to "None" + } } // Attach the updateSelectAllTweaks function to all individual checkboxes