Update samy.js

This commit is contained in:
2025-12-17 19:49:37 -05:00
parent 189aff7ddb
commit 2629a6c5a6

View File

@@ -223,7 +223,8 @@ document.addEventListener("DOMContentLoaded", () => {
// =======================================================================
async function fetchSites() {
const pwdInput = document.getElementById("Password");
const pwd = (pwdInput?.value ?? ""); // allow empty string
const pwd = (pwdInput?.value ?? "").trim(); // allow blank, normalize whitespace
const dropdown = document.getElementById("dattoDropdown");