From: julmis Date: Fri, 31 Oct 2003 21:58:24 +0000 (+0000) Subject: Minor change for iframe width X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=55d035b098a6b2a170a5b0d43edace8482315d38;p=moodle.git Minor change for iframe width --- 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) {