diff options
-rw-r--r-- | src/dumbymap.mjs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dumbymap.mjs b/src/dumbymap.mjs index d512136..706a4fe 100644 --- a/src/dumbymap.mjs +++ b/src/dumbymap.mjs | |||
@@ -381,7 +381,7 @@ export const generateMaps = (container, { | |||
381 | }) | 381 | }) |
382 | } else if (showcase.contains(target)) { | 382 | } else if (showcase.contains(target)) { |
383 | // Check placeholder is inside Semantic HTML | 383 | // Check placeholder is inside Semantic HTML |
384 | const placeholder = htmlHolder.querySelector( | 384 | const placeholder = dumbymap.htmlHolder.querySelector( |
385 | `[data-placeholder="${target.id}"]`, | 385 | `[data-placeholder="${target.id}"]`, |
386 | ) | 386 | ) |
387 | if (!placeholder) { throw Error(`Cannot find placeholder for map "${target.id}"`) } | 387 | if (!placeholder) { throw Error(`Cannot find placeholder for map "${target.id}"`) } |