aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dumbymap.mjs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/dumbymap.mjs b/src/dumbymap.mjs
index 383eedf..2fbb8f8 100644
--- a/src/dumbymap.mjs
+++ b/src/dumbymap.mjs
@@ -301,7 +301,9 @@ export const generateMaps = (container, { delay } = {}) => {
301 attributeFilter: ['class'], 301 attributeFilter: ['class'],
302 attributeOldValue: true 302 attributeOldValue: true
303 }) 303 })
304 onRemove(mapElement, () => observer.disconnect()) 304 onRemove(dumbymap.htmlHolder, () => {
305 observer.disconnect()
306 })
305 } 307 }
306 308
307 // Set unique ID for map container 309 // Set unique ID for map container