Skip to content

Commit

Permalink
Call initEmbed for submission guidelines expansion.
Browse files Browse the repository at this point in the history
  • Loading branch information
miteshashar committed Dec 7, 2022
1 parent 5f79df0 commit b60f21c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions funnel/assets/js/project_header.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import Video from './utils/embedvideo';
import Analytics from './utils/analytics';
import Spa from './utils/spahelper';
import Form from './utils/formhelper';
import TypeformEmbed from './utils/typeform_embed';
import initEmbed from './utils/initembed';

const Ticketing = {
init(tickets) {
Expand Down Expand Up @@ -173,6 +173,7 @@ $(() => {
event.preventDefault();
$(this).addClass('mui--hide');
$(this).next('.js-htmltruncate-full').removeClass('mui--hide');
initEmbed($(this).next('.js-htmltruncate-full'));
});

// Adding the embed video player
Expand Down Expand Up @@ -224,6 +225,6 @@ $(() => {
});

// Include parent container
TypeformEmbed.init('#about .markdown');
initEmbed('#about .markdown');
};
});

0 comments on commit b60f21c

Please sign in to comment.