aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dumbymap.mjs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/dumbymap.mjs b/src/dumbymap.mjs
index 1db8437..9665c9c 100644
--- a/src/dumbymap.mjs
+++ b/src/dumbymap.mjs
@@ -267,8 +267,6 @@ export const generateMaps = async (container, callback) => {
267 const placeholder = htmlHolder.querySelector(`[data-placeholder="${target.id}"]`) 267 const placeholder = htmlHolder.querySelector(`[data-placeholder="${target.id}"]`)
268 if (!placeholder) throw Error(`Cannot fine placeholder for map "${target.id}"`) 268 if (!placeholder) throw Error(`Cannot fine placeholder for map "${target.id}"`)
269 269
270 .catch(afterAnimation)
271
272 // Consider animation may fail, write callback 270 // Consider animation may fail, write callback
273 const afterAnimation = () => { 271 const afterAnimation = () => {
274 placeholder.parentElement.replaceChild(target, placeholder) 272 placeholder.parentElement.replaceChild(target, placeholder)