Update samy.js
This commit is contained in:
3
samy.js
3
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");
|
||||
|
||||
Reference in New Issue
Block a user