adds trim (#3)

to remove trailing whitespace.
This commit is contained in:
viveksair
2025-04-25 01:28:23 -04:00
committed by GitHub
parent e9fd8681ac
commit fb34587b1c

View File

@@ -17,7 +17,7 @@ if (user) {
}
function find() {
let user = gh.value.toLowerCase();
let user = gh.value.trim().toLowerCase();
if (user != "") {
statusUpdate(`Fetching devstats score for '${user}'`, "info");
rawResultsWrapper.classList.add('hidden');