.
This commit is contained in:
@@ -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");
|
||||
//}
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user