From d962ac058da0f0ce387d19c526550d66043271f9 Mon Sep 17 00:00:00 2001 From: Ross Date: Sat, 15 May 2021 13:01:36 +0100 Subject: [PATCH] . --- rapids/templates/rapids/question_display_block.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rapids/templates/rapids/question_display_block.html b/rapids/templates/rapids/question_display_block.html index b16a9b70..79c9891d 100755 --- a/rapids/templates/rapids/question_display_block.html +++ b/rapids/templates/rapids/question_display_block.html @@ -63,7 +63,7 @@ $(".proposed-answer").each((n, el) => { // Add button to confirm answer is correct - $(el).append(("[Correct]").on("click", function () { + $(el).append($("[Correct]").on("click", function () { $.ajax({ url: "{% url 'answer_suggestion_confirm' %}", data: { @@ -94,7 +94,7 @@ })) // Add button to confirm answer is incorrect - $(el).append(("[Incorrect]").on("click", function () { + $(el).append($("[Incorrect]").on("click", function () { $.ajax({ url: "{% url 'answer_suggestion_confirm' %}", data: {