diff --git a/mail/js/app.js b/mail/js/app.js index e2d534c49a..0cb71031c2 100644 --- a/mail/js/app.js +++ b/mail/js/app.js @@ -3738,7 +3738,10 @@ app.classes.mail = AppJS.extend( if (!window.onafterprint) { - window.onfocus = afterprint; + // For browsers which does not support onafterprint event, eg. Chrome + setTimeout(function() { + window.close(); + }, 2000); } else {