Skip to content

Commit

Permalink
In initEmbed, send parentContainer to addVegaSupport.
Browse files Browse the repository at this point in the history
  • Loading branch information
miteshashar committed Dec 13, 2022
1 parent 35385f2 commit c60b1e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion funnel/assets/js/utils/initembed.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit c60b1e2

Please sign in to comment.