diff --git a/src/script.js b/src/script.js index 914255d..e85f3f8 100644 --- a/src/script.js +++ b/src/script.js @@ -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');