summaryrefslogtreecommitdiff
path: root/skins/larry/ui.js
diff options
context:
space:
mode:
authorroot <root@alec-desktop.(none)>2012-05-08 09:45:49 +0200
committerAleksander Machniak <alec@alec.pl>2012-05-08 12:16:46 +0200
commitd8d75401f5121d2a162bee96efee956d44b454be (patch)
tree066c48c4d82427e35a7d31b43dbea6fcdd65e8fa /skins/larry/ui.js
parenta9ca5f476bf0d1b8bba23113e699433574449ccb (diff)
Simplified code
Diffstat (limited to 'skins/larry/ui.js')
-rw-r--r--skins/larry/ui.js10
1 files changed, 3 insertions, 7 deletions
diff --git a/skins/larry/ui.js b/skins/larry/ui.js
index ab56910bd..73ce76782 100644
--- a/skins/larry/ui.js
+++ b/skins/larry/ui.js
@@ -326,13 +326,9 @@ function rcube_mail_ui()
h = body.parent().height() - 16;
body.width(w).height(h);
- if (window.tinyMCE && tinyMCE.get('composebody')) {
- $('#composebody_tbl').width((w+8)+'px').height('').css('margin-top', '1px');
- $('#composebody_ifr').width((w+8)+'px').height((h-40)+'px');
- }
- else {
- $('#googie_edit_layer').height(h+'px');
- }
+ $('#composebody_tbl').width((w+8)+'px').height('').css('margin-top', '1px');
+ $('#composebody_ifr').width((w+8)+'px').height((h-40)+'px');
+ $('#googie_edit_layer').height(h+'px');
var abooks = $('#directorylist');
$('#compose-contacts .scroller').css('top', abooks.position().top + abooks.outerHeight());