From 9bfcb3b98cd0653d9376fb12558a1e5c57990a1c Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Wed, 30 Jun 2010 13:56:31 -0400
Subject: [PATCH] - small fix for googie layer height setting
---
program/js/googiespell.js | 2 +-
skins/default/functions.js | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/program/js/googiespell.js b/program/js/googiespell.js
index 27658a4..a03c608 100644
--- a/program/js/googiespell.js
+++ b/program/js/googiespell.js
@@ -567,7 +567,7 @@
this.createEditLayer = function(width, height) {
this.edit_layer = document.createElement('div');
$(this.edit_layer).addClass('googie_edit_layer').attr('id', 'googie_edit_layer')
- .width(width).height(height);
+ .width('auto').height(height);
if (this.text_area.nodeName.toLowerCase() != 'input' || $(this.text_area).val() == '') {
$(this.edit_layer).css('overflow', 'auto').height(height-4);
diff --git a/skins/default/functions.js b/skins/default/functions.js
index 877d152..6422d18 100644
--- a/skins/default/functions.js
+++ b/skins/default/functions.js
@@ -345,7 +345,7 @@
$('#compose-body_ifr').width((w+2)+'px').height((h-54)+'px');
}
else {
- $('#googie_edit_layer').width(w-(bw.ie || bw.opera || bw.safari ? 2 : 0)+'px').height(h+'px');
+ $('#googie_edit_layer').height(h+'px');
}
},
--
Gitblit v1.9.1