summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-06-30 17:56:31 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-06-30 17:56:31 +0000
commit395167bd1ae03d065dcf19fbf02599171b7a54d4 (patch)
tree1930ba48cb738d1ec50dd181f323e7e1d8c1896a
parent0ba64f82dd1338e6020ebfd9b740d0803a767dcd (diff)
- small fix for googie layer height setting
git-svn-id: https://svn.roundcube.net/trunk@3800 208e9e7b-5314-0410-a742-e7e81cd9613c
-rw-r--r--roundcubemail/program/js/googiespell.js2
-rw-r--r--roundcubemail/skins/default/functions.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/roundcubemail/program/js/googiespell.js b/roundcubemail/program/js/googiespell.js
index 27658a4a7..a03c6082f 100644
--- a/roundcubemail/program/js/googiespell.js
+++ b/roundcubemail/program/js/googiespell.js
@@ -567,7 +567,7 @@ this.showErrorWindow = function(elm, id) {
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/roundcubemail/skins/default/functions.js b/roundcubemail/skins/default/functions.js
index 877d1524a..6422d1882 100644
--- a/roundcubemail/skins/default/functions.js
+++ b/roundcubemail/skins/default/functions.js
@@ -345,7 +345,7 @@ resize_compose_body: function()
$('#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');
}
},