diff --git a/CHANGELOG.md b/CHANGELOG.md index 2f94ad0..060361f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,9 @@ Next Release ------------- +1.4.0 +------ * Added trigger for frame unloading. #18 +* Updated default height calucaltion to bodyScroll. 1.3.2 ------ diff --git a/package-lock.json b/package-lock.json index af2a0af..017f40e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "xfc", - "version": "1.3.0", + "version": "1.4.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 285961d..c54c05a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xfc", - "version": "1.3.2", + "version": "1.4.0", "description": "A Cross Frame Container that handles securely embedding web content into a 3rd party domain", "author": "Cerner Corporation", "license": "Apache-2.0", diff --git a/src/lib/dimension.js b/src/lib/dimension.js index b490394..331e38d 100644 --- a/src/lib/dimension.js +++ b/src/lib/dimension.js @@ -49,7 +49,7 @@ const getWidth = { min: () => Math.min(...getAllMeasures(getWidth)), }; -export function calculateHeight(calMethod = 'max') { +export function calculateHeight(calMethod = 'bodyScroll') { if (!(calMethod in getHeight)) { logger.error(`'${calMethod}' is not a valid method name!`); }