diff options
Diffstat (limited to 'src/dumbymap.mjs')
-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 79549ec..5f2fcc9 100644 --- a/src/dumbymap.mjs +++ b/src/dumbymap.mjs | |||
@@ -138,6 +138,7 @@ export const markdown2HTML = (container, mdContent) => { | |||
138 | } | 138 | } |
139 | // FIXME Don't use hard-coded CSS selector | 139 | // FIXME Don't use hard-coded CSS selector |
140 | export const generateMaps = async (container, callback) => { | 140 | export const generateMaps = async (container, callback) => { |
141 | container.classList.add('Dumby') | ||
141 | const htmlHolder = container.querySelector('.SemanticHtml') ?? container | 142 | const htmlHolder = container.querySelector('.SemanticHtml') ?? container |
142 | const showcase = document.createElement('div') | 143 | const showcase = document.createElement('div') |
143 | container.appendChild(showcase) | 144 | container.appendChild(showcase) |
@@ -150,7 +151,6 @@ export const generateMaps = async (container, callback) => { | |||
150 | blocks: Array.from(htmlHolder.querySelectorAll('.dumby-block')), | 151 | blocks: Array.from(htmlHolder.querySelectorAll('.dumby-block')), |
151 | } | 152 | } |
152 | 153 | ||
153 | container.classList.add('DumbyMap') | ||
154 | // LeaderLine {{{ | 154 | // LeaderLine {{{ |
155 | 155 | ||
156 | // Get anchors with "geo:" scheme | 156 | // Get anchors with "geo:" scheme |