summaryrefslogtreecommitdiff
path: root/skins/larry/ui.js
diff options
context:
space:
mode:
authorroot <root@alec-desktop.(none)>2012-05-08 09:45:49 +0200
committerroot <root@alec-desktop.(none)>2012-05-08 09:45:49 +0200
commitc792b5216eac546abc284b0da008dbe09efea0a4 (patch)
treebf0093085abd635978f1e7e71627a9f6d896d49a /skins/larry/ui.js
parent269b1433db56f58d9e8a1d38c0580fd483021871 (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());