Merge pull request #13269 from frappe/mergify/bp/develop/pr-13265

This commit is contained in:
Suraj Shetty 2021-05-20 09:48:07 +05:30 committed by GitHub
commit da121994b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -505,8 +505,9 @@ window.print();
// close the window after print
// NOTE: doesn't close if print is cancelled in Chrome
// Changed timeout to 5s from 1s because it blocked mobile view rendering
setTimeout(function() {
window.close();
}, 1000);
}, 5000);
</script>
"""