Commit a9d0ef49 authored by julientaq's avatar julientaq

print modal launched after clicking print button

parent 0bc6fe58
......@@ -24,8 +24,10 @@
});
function preview() {
window.PagedPolyfill.preview();
async function preview() {
await window.PagedPolyfill.preview();
window.print();
}
</script>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment