Update TGBeta.ps1
This commit is contained in:
18
TGBeta.ps1
18
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"]');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user