diff options
author | root <root@alec-desktop.(none)> | 2012-05-08 09:45:27 +0200 |
---|---|---|
committer | root <root@alec-desktop.(none)> | 2012-05-08 09:45:27 +0200 |
commit | 269b1433db56f58d9e8a1d38c0580fd483021871 (patch) | |
tree | a4388a1e0b4fab1182c52f6a2f6ce31ec72b76a1 /skins/default | |
parent | 840fa8e1fdcb63732723194dbbb91eaf2f1c9745 (diff) |
Simplified code
Diffstat (limited to 'skins/default')
-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() |