Embed hacked PDF.js viewer that doesn't screw up label resolutions

This commit is contained in:
Skylar Ittner 2020-06-09 20:17:09 -06:00
parent c69650f82c
commit 61235c62f2
2 changed files with 2 additions and 1 deletions

View File

@ -51,5 +51,5 @@ $pdfurl = "./print/print.php?labeltype=$labeltype&id=$machineid";
</div>
<div>
<iframe src="<?php echo $pdfurl; ?>" width="100%" height="500px"></iframe>
<iframe src="./print/pdf.js/web/viewer.html?<?php echo "labeltype=$labeltype&id=$machineid"; ?>" width="100%" height="500px"></iframe>
</div>

1
print/pdf.js Submodule

@ -0,0 +1 @@
Subproject commit c614daed6520029f66107b1061c641120f332f87