mirror of
https://github.com/moodle/moodle.git
synced 2025-04-25 10:26:17 +02:00
MDL-11242 - Setting the width back to it's 1.8 value. This makes it a bit too large for the message window, but is necessary for IE7/Vista (merge
from 1.9)
This commit is contained in:
parent
6a639bcbfb
commit
405201f4b8
@ -805,7 +805,7 @@ HTMLArea.prototype.generate = function () {
|
||||
var height = (this.config.height == "auto" ? (this._ta_size.h) : this.config.height);
|
||||
height = parseInt(height);
|
||||
var width = (this.config.width == "auto" ? (this._toolbar.offsetWidth) : this.config.width);
|
||||
// width = Math.max(parseInt(width), 598);
|
||||
width = Math.max(parseInt(width), 598);
|
||||
|
||||
width = String(width);
|
||||
if (width.match(/^\d+$/)) { // is this a pure int? if so, let it be in px, and remove 2px
|
||||
|
Loading…
x
Reference in New Issue
Block a user