correct width small canvas
This commit is contained in:
@@ -129,10 +129,11 @@ function startpdfviewer(){
|
||||
|
||||
czoom = getzoom();
|
||||
|
||||
if (czoom != null)
|
||||
div.style.width = czoom+"%";
|
||||
|
||||
if (czoom != null & czoom > 10) {
|
||||
div.style.width = czoom+"%"
|
||||
|
||||
}
|
||||
|
||||
|
||||
pdfjsLib.getDocument(url).promise.then(function(pdfDoc_) {
|
||||
pdfDoc = pdfDoc_;
|
||||
|
||||
Reference in New Issue
Block a user