From: Michael M Slusarz Date: Fri, 30 Oct 2009 21:16:58 +0000 (-0600) Subject: Fix compose window resize. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=e081db1ba00811174e6765158d442d7b00880fb8;p=horde.git Fix compose window resize. --- diff --git a/imp/js/compose.js b/imp/js/compose.js index c8a1339fc..47c473414 100644 --- a/imp/js/compose.js +++ b/imp/js/compose.js @@ -396,7 +396,7 @@ var ImpCompose = { if (!e) { return this.resize.bind(this).defer(); } - d = Math.min(e.getHeight(), screen.height - 100) - document.viewport.getHeight(); + d = Math.min(e, screen.height - 100) - document.viewport.getHeight(); if (d > 0) { window.resizeBy(0, d); }