@ai-matrx/print 0.8.67 → 0.8.68
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/react.cjs +1 -1
- package/dist/react.cjs.map +1 -1
- package/dist/react.js +1 -1
- package/dist/react.js.map +1 -1
- package/package.json +3 -3
package/dist/react.js
CHANGED
|
@@ -1574,7 +1574,7 @@ function printHtml(html) {
|
|
|
1574
1574
|
const run = () => {
|
|
1575
1575
|
win.focus();
|
|
1576
1576
|
win.print();
|
|
1577
|
-
setTimeout(() => frame.remove(),
|
|
1577
|
+
setTimeout(() => frame.remove(), 6e4);
|
|
1578
1578
|
};
|
|
1579
1579
|
if (win.document.readyState === "complete") setTimeout(run, 50);
|
|
1580
1580
|
else win.addEventListener("load", run, { once: true });
|