CoreFiles by mySites.guru
iframe-height.js14 lines, 412 bytes, from Joomla_3.9.21-Stable-Full_Package.zip
Raw History Compare with 3.9.20
md5
1a65850aaba06f9e39f0c63ef86a7105
sha1
f1ae19240f8b2aa256aa3680805b35f937892816
sha256
3bed8d8e9cdc7341741469fe3f642163c51800122eb49d9eaeabbc48ac18365a
function iFrameHeight(iframe)
{
    var doc    = 'contentDocument' in iframe ? iframe.contentDocument : iframe.contentWindow.document;
    var height = parseInt(doc.body.scrollHeight);

    if (!document.all)
    {
        iframe.style.height = parseInt(height) + 60 + 'px';
    }
    else if (document.all && iframe.id)
    {
        document.all[iframe.id].style.height = parseInt(height) + 20 + 'px';
    }
}

The same content is in 111 releases, Joomla 3.8.4-rc to 4.0.0-alpha3. See them all, or every version of this file.