summaryrefslogtreecommitdiff
path: root/static/main.js
diff options
context:
space:
mode:
authorDaniel Hader <[email protected]>2026-06-02 20:16:04 -0500
committerDaniel Hader <[email protected]>2026-06-02 20:16:04 -0500
commit14a4d586b7c7abc86674724153757f15faf7262c (patch)
treecc7f1743964d7a32f5299cee239d8126b59544e1 /static/main.js
parentfc82931fab3ee1203ebb894840f9eede0dee2a08 (diff)
submission logic progress and submission page redirects
Diffstat (limited to 'static/main.js')
-rw-r--r--static/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/main.js b/static/main.js
index ae997f3..73a4c60 100644
--- a/static/main.js
+++ b/static/main.js
@@ -37,7 +37,7 @@ function create_problem_element(problem, submissions) {
problem_div.appendChild(sub_title);
const submission_link = document.createElement("a");
- submission_link.href = "submit.html?problem=10";
+ submission_link.href = `submit.html?problem_id=${problem.id}`;
submission_link.innerHTML = "submit solution"
problem_div.appendChild(submission_link);