Update TGBeta.ps1

This commit is contained in:
2025-01-27 22:38:51 -05:00
parent dca136890b
commit fab22f5570

View File

@@ -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"]');