This commit is contained in:
Ross
2022-01-10 10:49:54 +00:00
parent f9c57de929
commit 5161fc3276
2 changed files with 8 additions and 8 deletions
+4 -4
View File
@@ -43,10 +43,10 @@ $(document).ready(function () {
if ($(".post-form").length > 0) {
$(".post-form").get(0).addEventListener("submit", function (e) {
if ($(".not-marked").length > 0 && e.submitter.name != "skip") {
e.preventDefault(); // before the code
alert("Ensure all answers are marked first");
}
//if ($(".not-marked").length > 0 && e.submitter.name != "skip") {
// e.preventDefault(); // before the code
// alert("Ensure all answers are marked first");
//}
});
}