Skip to content

Commit

Permalink
Wait for print-page before printing
Browse files Browse the repository at this point in the history
  • Loading branch information
qistoph committed Apr 27, 2013
1 parent 70204f7 commit 76c742e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -307,8 +307,9 @@
});

generateQR($("#qrcode", printWin.document), $("#qrtitle", printWin.document));
printWin.print();
//printWin.close();
$(printWin.document).ready(function() {
printWin.print();
});
}
</script>
</head>
Expand Down

0 comments on commit 76c742e

Please sign in to comment.