Skip to content

Commit

Permalink
iFrameHeight() needs to be called with a reference to the iframe-object
Browse files Browse the repository at this point in the history
  • Loading branch information
tkempf committed May 29, 2019
1 parent 9c2f288 commit b0361f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/com_wrapper/views/wrapper/view.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public function display($tpl = null)
// Auto height control
if ($params->def('height_auto'))
{
$wrapper->load = 'onload="iFrameHeight()"';
$wrapper->load = 'onload="iFrameHeight(this)"';
}
else
{
Expand Down

0 comments on commit b0361f6

Please sign in to comment.