summaryrefslogtreecommitdiff
path: root/skins
diff options
context:
space:
mode:
authorroot <root@alec-desktop.(none)>2012-05-08 09:45:27 +0200
committerAleksander Machniak <alec@alec.pl>2012-05-08 12:16:36 +0200
commita9ca5f476bf0d1b8bba23113e699433574449ccb (patch)
treea0a2358a1c54eb0e1924ae363510edae5ae8ffe1 /skins
parent9b487e4817057d55f7ec3a30fe6901b642f3e219 (diff)
Simplified code
Diffstat (limited to 'skins')
-rw-r--r--skins/default/functions.js11
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()