From b018ee8a15b2d37825c2f0a02c31ec39b25285d6 Mon Sep 17 00:00:00 2001 From: Ross Date: Sat, 16 Oct 2021 22:19:00 +0100 Subject: [PATCH] . --- anatomy/static/js/anatomy.js | 2 +- static/js/anatomy.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/anatomy/static/js/anatomy.js b/anatomy/static/js/anatomy.js index 307e57db..49285a14 100644 --- a/anatomy/static/js/anatomy.js +++ b/anatomy/static/js/anatomy.js @@ -114,7 +114,7 @@ $(document).ready(function () { function addToExam(evt) { let ids = [] - $("table input:checked").each((n, el) => { + $("tbody input:checked").each((n, el) => { ids.push(el.value) }) diff --git a/static/js/anatomy.js b/static/js/anatomy.js index 307e57db..49285a14 100644 --- a/static/js/anatomy.js +++ b/static/js/anatomy.js @@ -114,7 +114,7 @@ $(document).ready(function () { function addToExam(evt) { let ids = [] - $("table input:checked").each((n, el) => { + $("tbody input:checked").each((n, el) => { ids.push(el.value) })