CoreFiles by mySites.guru
iframe-height.js17 lines, 501 bytes, from Joomla_3.7.2-Stable-Full_Package.zip
Raw History Compare with 3.7.1
md5
33758204cd863aadbad81045fe227cdc
sha1
a825a4b638ee4881068dfccb4e10877f0a8a9d28
sha256
be5576925665bad4912fac74950699f140bc780f2360db2e3ce706bfc0da201a
function iFrameHeight()
{
    var height = 0;
    var iframe = document.getElementById('blockrandom');
    var doc    = 'contentDocument' in iframe ? iframe.contentDocument : iframe.contentWindow.document;

    if (!document.all)
    {
        height = doc.body.scrollHeight;
        iframe.style.height = parseInt(height) + 60 + 'px';
    }
    else if (document.all)
    {
        height = doc.body.scrollHeight;
        document.all.blockrandom.style.height = parseInt(height) + 20 + 'px';
    }
}

The same content is in 36 releases, Joomla 3.7.0-alpha1 to 4.0.0-alpha2. See them all, or every version of this file.