From 99e27c581eda16f8c3f942fc9f57ce5d56b8cba1 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Thu, 30 May 2013 09:19:05 -0400 Subject: [PATCH] Fix unintentional compose window resize (#1489114) --- program/js/app.js | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/program/js/app.js b/program/js/app.js index 7c4fbc1..d5a66ab 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -2974,7 +2974,8 @@ } else { this.redirect(url); - window.resizeTo(Math.max(this.env.popup_width, $(window).width()), $(window).height() + 24); + if (this.env.extwin) + window.resizeTo(Math.max(this.env.popup_width, $(window).width()), $(window).height() + 24); } }; -- Gitblit v1.9.1