From 5857260398239c9843ae6943300811fe81f9fae1 Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Tue, 11 May 2021 17:41:04 +0200 Subject: [PATCH] Bug fix --- static/js/map.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);