diff --git a/funnel/assets/js/utils/initembed.js b/funnel/assets/js/utils/initembed.js index 83b9ed4c5..88aaaccc1 100644 --- a/funnel/assets/js/utils/initembed.js +++ b/funnel/assets/js/utils/initembed.js @@ -5,8 +5,8 @@ import MermaidEmbed from './mermaid'; import PrismEmbed from './prism'; export default function initEmbed(parentContainer = '') { - addVegaSupport(); if (parentContainer) TypeformEmbed.init(parentContainer); + addVegaSupport(parentContainer); MarkmapEmbed.init(parentContainer); MermaidEmbed.init(parentContainer); PrismEmbed.init(parentContainer);