fixed invoice-print loading from file://

pull/2303/head
REJack 2019-10-03 14:09:27 +02:00
parent c2d3d8595c
commit c09241069b
No known key found for this signature in database
GPG Key ID: 9F3976CC630CC888
1 changed files with 5 additions and 1 deletions

View File

@ -18,7 +18,7 @@
<!-- Google Font: Source Sans Pro -->
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700" rel="stylesheet">
</head>
<body onload="window.print();">
<body>
<div class="wrapper">
<!-- Main content -->
<section class="invoice">
@ -162,5 +162,9 @@
<!-- /.content -->
</div>
<!-- ./wrapper -->
<script type="text/javascript">
window.addEventListener("load", window.print());
</script>
</body>
</html>