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
+4
View File
@@ -27,6 +27,7 @@ a, a:link {
.answer-list .correct {
color: green;
color: blue;
}
.answer-list .correct::after{
@@ -66,6 +67,7 @@ a, a:link {
.answered {
color: green;
color: blue;
}
.unanswered {
@@ -324,6 +326,7 @@ img.uploading:hover {
.user-answer-score-2 {
color: green;
color: blue;
}
td.user-answer-score-0::after {
@@ -384,6 +387,7 @@ td.user-answer-score-2::after {
.answer-1 {
color: green;
color: blue;
}
.answer-0 {
+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");