witten
/
luminotes
Archived
1
0
Fork 0

Fixed ever-growing iframe editor width in IE6.

This commit is contained in:
Dan Helfman 2009-01-26 12:15:27 -08:00
parent b0fcf355c9
commit fb64838d48
1 changed files with 2 additions and 0 deletions

View File

@ -634,6 +634,8 @@ Editor.prototype.resize = function ( get_height_from_div ) {
var width = elementDimensions( this.div.parentNode ).w;
// set the width first, because that influence the height of the content
if ( MSIE6 )
width -= FRAME_BORDER_HEIGHT * 2;
var size = { "w": width };
setElementDimensions( this.iframe, size );
setElementDimensions( this.div, size );