diff --git a/anatomy/static/js/anatomy.js b/anatomy/static/js/anatomy.js index ffb1c10c..3959803f 100644 --- a/anatomy/static/js/anatomy.js +++ b/anatomy/static/js/anatomy.js @@ -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"); + //} }); } diff --git a/static/js/anatomy.js b/static/js/anatomy.js index ffb1c10c..3959803f 100644 --- a/static/js/anatomy.js +++ b/static/js/anatomy.js @@ -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"); + //} }); }