From 5161fc3276ba8309f40937509097be979f9e373e Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 10 Jan 2022 10:49:54 +0000 Subject: [PATCH] . --- anatomy/static/js/anatomy.js | 8 ++++---- static/js/anatomy.js | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) 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"); + //} }); }