summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-05-30 15:19:05 +0200
committerAleksander Machniak <alec@alec.pl>2013-05-30 15:21:35 +0200
commitecbc8770c6aa9c2d68bf932f9dfa5dc8956bc8d1 (patch)
treed863ae23b05d1c660ac0dd844d85eea035359a47 /program
parentf031cb6c5e4fd3dcb7ea243d477825868d8ad17b (diff)
Fix unintentional compose window resize (#1489114)
Conflicts: program/js/app.js
Diffstat (limited to 'program')
-rw-r--r--program/js/app.js3
1 files changed, 2 insertions, 1 deletions
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()));
}
};