Make invisible iframe have zero height as well, so it doesn't add blank space at the bottom of the page.
This commit is contained in:
parent
bdfc5d3740
commit
4817f286bf
|
@ -15,7 +15,8 @@ function Shared_iframe() {
|
||||||
"src": MSIE6 && "/static/html/blank.html" || "about:blank",
|
"src": MSIE6 && "/static/html/blank.html" || "about:blank",
|
||||||
"frameBorder": "0",
|
"frameBorder": "0",
|
||||||
"scrolling": "no",
|
"scrolling": "no",
|
||||||
"class": "note_frame invisible"
|
"class": "note_frame invisible",
|
||||||
|
"height": "0"
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -1022,6 +1023,7 @@ Editor.prototype.release_iframe = function () {
|
||||||
if ( this.div )
|
if ( this.div )
|
||||||
removeElementClass( this.div, "invisible" );
|
removeElementClass( this.div, "invisible" );
|
||||||
addElementClass( this.iframe, "invisible" );
|
addElementClass( this.iframe, "invisible" );
|
||||||
|
setElementDimensions( this.iframe, { "h": 0 } );
|
||||||
this.iframe = null;
|
this.iframe = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in New Issue
Block a user