summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
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()));
}
};