From a56898bdfd9f9f1ea3ea9bad6d72f79228c71e89 Mon Sep 17 00:00:00 2001 From: Ross Date: Wed, 8 Sep 2021 15:26:39 +0100 Subject: [PATCH] . --- rapids/templates/rapids/exam_overview.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rapids/templates/rapids/exam_overview.html b/rapids/templates/rapids/exam_overview.html index 0f1c3d28..3d8f7213 100644 --- a/rapids/templates/rapids/exam_overview.html +++ b/rapids/templates/rapids/exam_overview.html @@ -189,7 +189,7 @@ sortable('.sortable'); $("#full-question-list li").each((n, el) => { - $(el).append($("[DELETE]")); + $(el).append($("[DELETE]").click(() => {el.remove();})); }) $("#full-question-list").append($("").click(() => {