Skip to content

Commit

Permalink
ENgrid Update
Browse files Browse the repository at this point in the history
  • Loading branch information
fernanDOTdo committed Sep 5, 2024
1 parent 2d6fed5 commit bb68520
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 18 deletions.
4 changes: 2 additions & 2 deletions dist/engrid.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
*
* ENGRID PAGE TEMPLATE ASSETS
*
* Date: Thursday, September 5, 2024 @ 15:16:50 ET
* Date: Thursday, September 5, 2024 @ 16:00:57 ET
* By: fernando
* ENGrid styles: v0.19.4
* ENGrid scripts: v0.19.4
* ENGrid scripts: v0.19.5
*
* Created by 4Site Studios
* Come work with us or join our team, we would love to hear from you
Expand Down
16 changes: 11 additions & 5 deletions dist/engrid.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
*
* ENGRID PAGE TEMPLATE ASSETS
*
* Date: Thursday, September 5, 2024 @ 15:16:50 ET
* Date: Thursday, September 5, 2024 @ 16:00:57 ET
* By: fernando
* ENGrid styles: v0.19.4
* ENGrid scripts: v0.19.4
* ENGrid scripts: v0.19.5
*
* Created by 4Site Studios
* Come work with us or join our team, we would love to hear from you
Expand Down Expand Up @@ -13076,11 +13076,15 @@ class iFrame {
// Fire the resize event
this.logger.log("iFrame Event - Begin Resizing");
// Run onLoaded function
if (document.readyState === "complete") {
console.log("document.readyState", document.readyState);
// Document Load
if (document.readyState !== "loading") {
this.onLoaded();
}
else {
window.addEventListener("load", this.onLoaded.bind(this));
document.addEventListener("DOMContentLoaded", () => {
this.onLoaded();
});
}
window.setTimeout(() => {
this.sendIframeHeight();
Expand Down Expand Up @@ -13175,6 +13179,8 @@ class iFrame {
this.sendIframeHeight();
}, 100);
});
// Watch for errors and send the height
engrid_ENGrid.watchForError(this.sendIframeHeight.bind(this));
}
sendIframeHeight() {
let height = document.body.offsetHeight;
Expand Down Expand Up @@ -21465,7 +21471,7 @@ class ThankYouPageConditionalContent {
}

;// CONCATENATED MODULE: ./node_modules/@4site/engrid-scripts/dist/version.js
const AppVersion = "0.19.4";
const AppVersion = "0.19.5";

;// CONCATENATED MODULE: ./node_modules/@4site/engrid-scripts/dist/index.js
// Runs first so it can change the DOM markup before any markup dependent code fires
Expand Down
4 changes: 2 additions & 2 deletions dist/engrid.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions dist/engrid.min.js

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit bb68520

Please sign in to comment.