From 2629a6c5a63cd1fa79169feadb77ba1ad4ed298c Mon Sep 17 00:00:00 2001 From: Stephan Yelle Date: Wed, 17 Dec 2025 19:49:37 -0500 Subject: [PATCH] Update samy.js --- samy.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/samy.js b/samy.js index 4824184..5df1840 100644 --- a/samy.js +++ b/samy.js @@ -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");