From c60b1e2702d39f5652df747a4231292951e66677 Mon Sep 17 00:00:00 2001 From: Mitesh Ashar Date: Tue, 13 Dec 2022 16:39:43 +0530 Subject: [PATCH] In initEmbed, send parentContainer to addVegaSupport. --- funnel/assets/js/utils/initembed.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);