Skip to content

Commit

Permalink
Remove 'grow' calc method
Browse files Browse the repository at this point in the history
  • Loading branch information
davidjbradshaw committed Feb 12, 2024
1 parent 4348b40 commit 325e3bd
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 12 deletions.
1 change: 0 additions & 1 deletion js/iframeResizer.contentWindow.js
Original file line number Diff line number Diff line change
Expand Up @@ -971,7 +971,6 @@
document.documentElement.getBoundingClientRect().bottom,
max: () => Math.max.apply(null, getAllMeasurements(getHeight)),
min: () => Math.min.apply(null, getAllMeasurements(getHeight)),
grow: () => getHeight.max(), // Run max without the forced downsizing
lowestElement: () => getLowestElement(getAllElements),
lowestDivElement: () => getLowestElement(getAllElementsByType('div')),
taggedElement: () => getTaggedElements('bottom', 'data-iframe-height')
Expand Down
Loading

0 comments on commit 325e3bd

Please sign in to comment.