Skip to content

Commit

Permalink
added separate iframe resizer-2
Browse files Browse the repository at this point in the history
  • Loading branch information
bluedeepart committed Nov 12, 2024
1 parent dfd5bcd commit ef7080d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/landing-page/landing-page.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ import ffetch from '../../scripts/ffetch.js';

export async function iframeResizeHandler(id) {
await new Promise((resolve) => {
loadScript('/scripts/iframeResizer.min.js', () => { resolve(); });
loadScript('/scripts/iframeResizer.min.js', () => { resolve(); }, '', true);
});

/* global iFrameResize */
setTimeout(() => {
iFrameResize({
log: true,
log: false,
}, `#${id}`);
}, 1000);
}
Expand Down

0 comments on commit ef7080d

Please sign in to comment.