summaryrefslogtreecommitdiff
path: root/program/js/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'program/js/app.js')
-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 7c4fbc133..d5a66abf0 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -2974,7 +2974,8 @@ function rcube_webmail()
}
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);
}
};