Minor change for iframe width

This commit is contained in:
julmis
2003-10-31 21:58:24 +00:00
parent 004c02e05c
commit 55d035b098
+1 -1
View File
@@ -674,7 +674,7 @@ HTMLArea.prototype.generate = function () {
// size the IFRAME according to user's prefs or initial textarea
var height = (this.config.height == "auto" ? (this._ta_size.h + "px") : this.config.height);
height = parseInt(height);
var width = (this.config.width == "auto" ? (this._ta_size.w + "px") : this.config.width);
var width = (this.config.width == "auto" ? (this._ta_size.w + 50 + "px") : this.config.width);
width = parseInt(width);
if (!HTMLArea.is_ie) {