From c792b5216eac546abc284b0da008dbe09efea0a4 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 8 May 2012 09:45:49 +0200 Subject: Simplified code --- skins/larry/ui.js | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'skins/larry/ui.js') 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()); -- cgit v1.2.3