From 8648418ddef2ff3b5e0ca0dbffb689d9fa0ea82f Mon Sep 17 00:00:00 2001 From: cpayne Date: Mon, 6 Jan 2025 23:43:48 -0500 Subject: [PATCH] Fix ID capital O --- TGBeta.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/TGBeta.ps1 b/TGBeta.ps1 index 999d778..7eda934 100644 --- a/TGBeta.ps1 +++ b/TGBeta.ps1 @@ -672,17 +672,17 @@ function GetHtmlContent { } function updateSelectAllonboard() { - const selectAllCheckbox = document.getElementById('selectAllonboardCheckbox'); + const selectAllCheckbox = document.getElementById('selectAllOnboardCheckbox'); const checkboxes = document .getElementById('onboardTab') - .querySelectorAll('input[type="checkbox"]:not(#selectAllonboardCheckbox)'); + .querySelectorAll('input[type="checkbox"]:not(#selectAllOnboardCheckbox)'); // If any checkbox is unchecked, uncheck "Select All" selectAllCheckbox.checked = Array.from(checkboxes).every(checkbox => checkbox.checked); } // Attach the updateSelectAllonboard function to all individual checkboxes - document.querySelectorAll('#onboardTab input[type="checkbox"]:not(#selectAllonboardCheckbox)').forEach(checkbox => { + document.querySelectorAll('#onboardTab input[type="checkbox"]:not(#selectAllOnboardCheckbox)').forEach(checkbox => { checkbox.addEventListener('change', updateSelectAllonboard); });