Skip to content

Commit

Permalink
Better default height setting for ckeditor; minimizes resizing effect
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Jul 26, 2014
1 parent 03fdf6f commit 51fd439
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions imp/js/editor.js
Expand Up @@ -41,6 +41,7 @@ var IMP_Editor = Class.create({
start: function()
{
if (!this.editor) {
this.config.height = $(this.id).getHeight() - 75;
this.editor = CKEDITOR.replace(this.id, this.config);
}
},
Expand Down

0 comments on commit 51fd439

Please sign in to comment.