Fixed ever-growing iframe editor width in IE6.
This commit is contained in:
parent
b0fcf355c9
commit
fb64838d48
|
@ -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 );
|
||||
|
|
Reference in New Issue