Fix insertion of blank pages during printing due to non-matching page sizes

This commit is contained in:
Tobias Schneider 2016-02-10 13:10:03 -08:00
parent 21ed8ff71d
commit aeabd0db20
3 changed files with 6 additions and 6 deletions

View file

@ -541,8 +541,6 @@ var PDFPageView = (function PDFPageViewClosure() {
var printContainer = document.getElementById('printContainer');
var canvasWrapper = document.createElement('div');
canvasWrapper.style.width = viewport.width + 'pt';
canvasWrapper.style.height = viewport.height + 'pt';
canvasWrapper.appendChild(canvas);
printContainer.appendChild(canvasWrapper);