From 5b7b665dbe6789bfa5bf092f467044ba1e22741f Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Mon, 18 Aug 2014 17:37:57 -0600 Subject: [PATCH] Better default --- imp/js/editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imp/js/editor.js b/imp/js/editor.js index fa24f22f459..d891ad7efda 100644 --- a/imp/js/editor.js +++ b/imp/js/editor.js @@ -41,7 +41,7 @@ var IMP_Editor = Class.create({ start: function() { if (!this.editor) { - this.config.height = $(this.id).getHeight() - 75; + this.config.height = Math.max($(this.id).getHeight(), 200) - 75; this.editor = CKEDITOR.replace(this.id, this.config); } },