diff --git a/public/js/index.js b/public/js/index.js index 222df9e..003274c 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -218,6 +218,12 @@ document.getElementById("request-status").onclick = async () => { } }; +uuid.addEventListener("keyup", (e) => { + if (e.key === "Enter") { + document.getElementById("request-status").click(); + } +}); + if (window.location.hash) { uuid.value = window.location.hash.substring(1); // remove # from hash document.getElementById("request-status").click();