Update TGBeta.ps1

This commit is contained in:
2025-02-01 19:57:51 -05:00
parent 328943f8f7
commit 60b1b45749

View File

@@ -788,6 +788,10 @@ function GetHtmlContent {
const n8nPasswordInput = document.getElementById('n8nPassword'); const n8nPasswordInput = document.getElementById('n8nPassword');
const fetchSitesButton = document.getElementById('fetchSitesButton'); const fetchSitesButton = document.getElementById('fetchSitesButton');
// Update the disabled state based on password length (now 12 characters)
n8nPasswordInput.addEventListener('input', () => {
fetchSitesButton.disabled = n8nPasswordInput.value.length < 12;
// Tab Switching // Tab Switching
const tabButtons = document.querySelectorAll('.tab-button'); const tabButtons = document.querySelectorAll('.tab-button');
const tabContents = document.querySelectorAll('.tab-content'); const tabContents = document.querySelectorAll('.tab-content');