From c792b5216eac546abc284b0da008dbe09efea0a4 Mon Sep 17 00:00:00 2001
From: root <root@alec-desktop.(none)>
Date: Tue, 08 May 2012 03:45:49 -0400
Subject: [PATCH] Simplified code

---
 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 ab56910..73ce767 100644
--- a/skins/larry/ui.js
+++ b/skins/larry/ui.js
@@ -326,13 +326,9 @@
     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());

--
Gitblit v1.9.1