This commit is contained in:
Ross
2021-01-04 14:08:25 +00:00
parent 894472d6ea
commit 28641e1c70
5 changed files with 30 additions and 1 deletions
+1
View File
@@ -31,6 +31,7 @@ $(document).ready(function () {
if($(".post-form").length > 0) {
$(".post-form").get(0).addEventListener("submit", function (e) {
console.log(e);
if($(".not-marked").length > 0) {
e.preventDefault(); // before the code
alert("Ensure all answers are marked first");