Make the iframe 300px heigher so there will be space for dropdowns. #15

This commit is contained in:
Arpad Csanyi
2016-03-17 16:04:48 +01:00
parent d761c9c93f
commit af9a2416e2

View File

@@ -11,7 +11,7 @@
<script type="text/javascript">
// This js function is here to make sure it loads before any iframe content on the page.
function resizeIframe(ifr) {
ifr.style.height = ifr.contentWindow.document.body.scrollHeight + 'px';
ifr.style.height = (ifr.contentWindow.document.body.scrollHeight + 300) + 'px';
ifr.style.width = ifr.contentWindow.document.body.scrollWidth + 'px';
}
</script>