diff --git a/anatomy/static/js/anatomy.js b/anatomy/static/js/anatomy.js index 6cd54fc9..00932df8 100644 --- a/anatomy/static/js/anatomy.js +++ b/anatomy/static/js/anatomy.js @@ -484,7 +484,7 @@ window.create_popup_window = create_popup_window function delete_multiple(url, csrf_token) { - answer_ids = []; + let answer_ids = []; $("tbody input:checked").each((n, el) => { answer_ids.push(el.value); }) diff --git a/static/js/anatomy.js b/static/js/anatomy.js index 6cd54fc9..00932df8 100644 --- a/static/js/anatomy.js +++ b/static/js/anatomy.js @@ -484,7 +484,7 @@ window.create_popup_window = create_popup_window function delete_multiple(url, csrf_token) { - answer_ids = []; + let answer_ids = []; $("tbody input:checked").each((n, el) => { answer_ids.push(el.value); })