From 55d035b098a6b2a170a5b0d43edace8482315d38 Mon Sep 17 00:00:00 2001 From: julmis Date: Fri, 31 Oct 2003 21:58:24 +0000 Subject: [PATCH] Minor change for iframe width --- lib/editor/htmlarea.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/editor/htmlarea.php b/lib/editor/htmlarea.php index 2e3313a2e8..4c9fa0616a 100644 --- a/lib/editor/htmlarea.php +++ b/lib/editor/htmlarea.php @@ -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) { -- 2.39.5