Commit 3ad92bf6 authored by jerry wham's avatar jerry wham
Browse files

min-height for heightOfTextarea = 250

parent f61bf302
......@@ -119,10 +119,14 @@ var DefaultStyle = "\
";
var widthOfTextarea = '99%';
var heightOfTextarea = ''+((widthAndHeight('height','main')-(2*80)-(2*42)-(50*2))/2)+'px';
// For heightOfTextarea
//80 is height of toolbars
//42 is height of h2 tag
//50 is margin-bottom
var heightOfTextarea = ((widthAndHeight('height','main')-(2*80)-(2*42)-(50*2))/2);
if (heightOfTextarea < 250) heightOfTextarea = 250;
heightOfTextarea = ''+heightOfTextarea+'px';
var full = new WYSIWYG.Settings();
full.TradToolbar = Trad;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment