]> git.mjollnir.org Git - moodle.git/commitdiff
Minor change for iframe width
authorjulmis <julmis>
Fri, 31 Oct 2003 21:58:24 +0000 (21:58 +0000)
committerjulmis <julmis>
Fri, 31 Oct 2003 21:58:24 +0000 (21:58 +0000)
lib/editor/htmlarea.php

index 2e3313a2e82a6eb9995220c8a1eb269689db2158..4c9fa0616a1ce9bc033bae0ddf1021b8db69e32f 100644 (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) {