From ecbc8770c6aa9c2d68bf932f9dfa5dc8956bc8d1 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Thu, 30 May 2013 15:19:05 +0200 Subject: Fix unintentional compose window resize (#1489114) Conflicts: program/js/app.js --- program/js/app.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'program') diff --git a/program/js/app.js b/program/js/app.js index d58a8f4fa..0561add36 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -3021,7 +3021,8 @@ function rcube_webmail() } else { this.redirect(url); - window.resizeTo(Math.max(1150, $(window).width()), Math.max(900, $(window).height())); + if (this.env.extwin) + window.resizeTo(Math.max(1150, $(window).width()), Math.max(900, $(window).height())); } }; -- cgit v1.2.3