diff --git a/web/page_view.js b/web/page_view.js index 04851b0a3..3bf6eb9a7 100644 --- a/web/page_view.js +++ b/web/page_view.js @@ -347,7 +347,7 @@ var PageView = function pageView(container, id, scale, // since aligning the bottom of the intended page with the // top of the window is rarely helpful). x = x !== null ? x : 0; - y = y !== null ? y : this.height / this.scale; + y = y !== null ? y : (this.height / this.scale) / CSS_UNITS; break; case 'Fit': case 'FitB':