- small fix for googie layer height setting

release-0.6
alecpl 14 years ago
parent 3e91f08b6a
commit 9bfcb3b98c

@ -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);

@ -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');
}
},

Loading…
Cancel
Save