Browse Source

Trivial typo fix

Tim van der Meij 12 years ago
parent
commit
ec7064ea74
  1. 2
      web/page_view.js

2
web/page_view.js

@ -124,7 +124,7 @@ var PageView = function pageView(container, id, scale,
}; };
this.cssZoom = function pageViewRescale(canvas) { this.cssZoom = function pageViewRescale(canvas) {
// Need to adjust canvas, canvas wrapepr, and page container. // Need to adjust canvas, canvas wrapper, and page container.
canvas.style.width = canvas.parentNode.style.width = div.style.width = canvas.style.width = canvas.parentNode.style.width = div.style.width =
Math.floor(this.viewport.width) + 'px'; Math.floor(this.viewport.width) + 'px';
canvas.style.height = canvas.parentNode.style.height = div.style.height = canvas.style.height = canvas.parentNode.style.height = div.style.height =

Loading…
Cancel
Save