diff options
author | root <root@alec-desktop.(none)> | 2012-05-08 09:45:49 +0200 |
---|---|---|
committer | root <root@alec-desktop.(none)> | 2012-05-08 09:45:49 +0200 |
commit | c792b5216eac546abc284b0da008dbe09efea0a4 (patch) | |
tree | bf0093085abd635978f1e7e71627a9f6d896d49a | |
parent | 269b1433db56f58d9e8a1d38c0580fd483021871 (diff) |
Simplified code
-rw-r--r-- | skins/larry/ui.js | 10 |
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()); |