Skip to content

Commit

Permalink
fix(core): fix issue with minification (#1016)
Browse files Browse the repository at this point in the history
fix(core): fix issue with minification
  • Loading branch information
JagadeeshKaricherla-branch authored Apr 11, 2024
1 parent 14c72c3 commit f0892c6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/branch_view.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ function renderHtmlBlob(parent, html, hasApp, iframeLoadedCallback) {
journeys_utils.addIframeInnerCSS(iframe, cssInsideIframe);
journeys_utils.addDynamicCtaText(iframe, ctaText);
const eventData = Object.assign({}, journeys_utils.journeyLinkData);
eventData.bannerHeight = journeys_utils.bannerHeight;
eventData.isFullPageBanner = journeys_utils.isFullPage;
eventData.bannerPagePlacement = journeys_utils.position;
eventData.isBannerInline = journeys_utils.sticky === 'absolute';
eventData.isBannerSticky = journeys_utils.sticky === 'fixed';
eventData['bannerHeight'] = journeys_utils.bannerHeight;
eventData['isFullPageBanner'] = journeys_utils.isFullPage;
eventData['bannerPagePlacement'] = journeys_utils.position;
eventData['isBannerInline'] = journeys_utils.sticky === 'absolute';
eventData['isBannerSticky'] = journeys_utils.sticky === 'fixed';
journeys_utils.branch._publishEvent('willShowJourney', eventData);

journeys_utils.animateBannerEntrance(iframe, cssIframeContainer);
Expand Down

0 comments on commit f0892c6

Please sign in to comment.