Skip to content

Commit

Permalink
Merge pull request #13 from Leo-768/master
Browse files Browse the repository at this point in the history
  • Loading branch information
SkyEye-FAST authored Jul 15, 2024
2 parents be92ad5 + c6e00e0 commit 4f98fd1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions templates/quiz_portal.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,12 @@

$("#enterButton").click(() => {
const inputContent = $("#inputText").val();
const redirectTo = `quiz/${inputContent}`;
const selectedLang = $("#query-lang").val();
const redirectTo = `quiz/${inputContent}?l=${selectedLang}`;
window.location.href = redirectTo;
});
});
</script>
</body>

</html>
</html>

0 comments on commit 4f98fd1

Please sign in to comment.