summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--program/js/app.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/program/js/app.js b/program/js/app.js
index 81bee6c1d..1814bedf2 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -252,7 +252,10 @@ function rcube_webmail()
}
// show printing dialog
else if (this.env.action == 'print' && this.env.uid)
- window.print();
+ if (bw.safari)
+ window.setTimeout('window.print()', 10);
+ else
+ window.print();
// get unread count for each mailbox
if (this.gui_objects.mailboxlist) {