diff options
-rw-r--r-- | skins/default/functions.js | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/skins/default/functions.js b/skins/default/functions.js index fb7a05d4b..48f9acd75 100644 --- a/skins/default/functions.js +++ b/skins/default/functions.js @@ -508,15 +508,10 @@ resize_compose_body: function() w -= 8; // 2 x 3px padding + 2 x 1px border h -= 4; + $('#compose-body_tbl').width((w+6)+'px').height(''); + $('#compose-body_ifr').width((w+6)+'px').height((h-54)+'px'); $('#compose-body').width(w+'px').height(h+'px'); - - if (window.tinyMCE && tinyMCE.get('compose-body')) { - $('#compose-body_tbl').width((w+6)+'px').height(''); - $('#compose-body_ifr').width((w+6)+'px').height((h-54)+'px'); - } - else { - $('#googie_edit_layer').height(h+'px'); - } + $('#googie_edit_layer').height(h+'px'); }, resize_compose_body_ev: function() |