Skip to content

Commit

Permalink
We need to resize in the IE bug case
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed May 13, 2014
1 parent 235d7bf commit 4dfc7d2
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions imp/js/compose-dimp.js
Original file line number Diff line number Diff line change
Expand Up @@ -896,11 +896,12 @@ var DimpCompose = {

resizeMsgArea: function(e)
{
if (!document.loaded ||
$('dimpLoading').visible() ||
// IE 7/8 Bug - can't resize TEXTAREA in the resize event (Bug
// #10075)
(e && Prototype.Browser.IE && !document.addEventListener)) {
if (!document.loaded || $('dimpLoading').visible()) {
return;
}

// IE 7/8 Bug - can't resize TEXTAREA in the resize event (Bug #10075)
if (e && Prototype.Browser.IE && !document.addEventListener) {
this.resizeMsgArea.bind(this).delay(0.1);
return;
}
Expand Down

0 comments on commit 4dfc7d2

Please sign in to comment.