From e081db1ba00811174e6765158d442d7b00880fb8 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Fri, 30 Oct 2009 15:16:58 -0600 Subject: [PATCH] Fix compose window resize. --- imp/js/compose.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.11.0