From 87bc50d40b54b4fb599e5a842b8f0df8f7758ad8 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 30 Dec 2024 11:53:35 +0000 Subject: [PATCH] . --- js/main.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/js/main.js b/js/main.js index a45e14d..8039232 100644 --- a/js/main.js +++ b/js/main.js @@ -168,13 +168,11 @@ async function retrievePacketList() { window.location = window.location.pathname; }) + console.debug("global_cid", global_cid) + console.debug("cid", cid) + if (URLS.exam_results_url != "" && URLS.exam_results_url != undefined) { let url = `${URLS.exam_results_url}${global_cid}/${global_passcode}`; - log.debug(`cid = ${cid}`); - if (cid.startsWith("u-")) { - url = URLS.exam_user_results_url; - } - log.debug(`Setting exam results url to ${url}`); $("#options-link")