diff --git a/static/js/map.js b/static/js/map.js index f32560d..0e7f063 100644 --- a/static/js/map.js +++ b/static/js/map.js @@ -207,7 +207,7 @@ function checkbox_change() { item_isa_list.includes(isa_qid) ); - if (intersection.length) { + if (item.group && intersection.length) { item.group.addTo(map); } else { item.group.removeFrom(map);