comparison ireport_javascript.js @ 4:a4813532bbc6 draft

Added MarkDown support
author saskia-hiltemann
date Tue, 07 Oct 2014 08:41:30 -0400
parents
children
comparison
equal deleted inserted replaced
3:4a6ebda2a3ae 4:a4813532bbc6
1 function resizeIframe(obj) {
2 oldheight=obj.style.height
3 oldwidth=obj.style.width
4 obj.style.height = obj.contentWindow.document.body.scrollHeight + 4 + 'px';
5 obj.style.width = obj.contentWindow.document.body.scrollWidth + 4 + 'px';
6 if(obj.style.height < 50){
7 obj.style.height=oldheight
8 }
9 }