From 90821356fa145c40be1c41dfbb2a7141ff7f10c3 Mon Sep 17 00:00:00 2001 From: Karma Riuk Date: Mon, 19 May 2025 10:13:18 +0200 Subject: [PATCH] added the possibility of passing a link with the id of the process --- public/js/index.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/public/js/index.js b/public/js/index.js index 682d706..f1a7a47 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -186,3 +186,8 @@ document.getElementById("request-status").onclick = async () => { statusStatusEl.textContent = `Currently waiting, position in queue ${json.queue_position}`; } }; + +if (window.location.hash) { + uuid.value = window.location.hash.substring(1); // remove # from hash + document.getElementById("request-status").click(); +}