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) })