@ -1,6 +1,6 @@
{
"name": "pdfjs-dist",
"version": "1.2.87",
"version": "1.2.89",
"main": [
"build/pdf.js",
"build/pdf.worker.js"
@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
(typeof window !== 'undefined' ? window : this).PDFJS = {};
}
PDFJS.version = '1.2.87';
PDFJS.build = '3c6df26';
PDFJS.version = '1.2.89';
PDFJS.build = '3c94ba8';
(function pdfjsWrapper() {
// Use strict in our context only - users might not want it
"description": "Generic build of Mozilla's PDF.js library.",
"keywords": [
"Mozilla",
@ -2555,6 +2555,12 @@ var PDFViewer = (function pdfViewer() {
case 'FitBH':
y = dest[2];
scale = 'page-width';
// According to the PDF spec, section 12.3.2.2, a `null` value in the
// parameter should maintain the position relative to the new page.
if (y === null && this._location) {
x = this._location.left;
y = this._location.top;
break;
case 'FitV':
case 'FitBV':