Merge pull request #13269 from frappe/mergify/bp/develop/pr-13265
This commit is contained in:
commit
da121994b0
1 changed files with 2 additions and 1 deletions
|
|
@ -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>
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue