|
@@ -3492,7 +3492,7 @@ var PDFViewer = (function pdfViewer() {
|
|
set currentScaleValue(val) {
|
|
set currentScaleValue(val) {
|
|
if (!this.pdfDocument) {
|
|
if (!this.pdfDocument) {
|
|
this._currentScale = isNaN(val) ? UNKNOWN_SCALE : val;
|
|
this._currentScale = isNaN(val) ? UNKNOWN_SCALE : val;
|
|
- this._currentScaleValue = val;
|
|
|
|
|
|
+ this._currentScaleValue = val.toString();
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
this._setScale(val, false);
|
|
this._setScale(val, false);
|
|
@@ -3679,7 +3679,7 @@ var PDFViewer = (function pdfViewer() {
|
|
|
|
|
|
_setScaleUpdatePages: function pdfViewer_setScaleUpdatePages(
|
|
_setScaleUpdatePages: function pdfViewer_setScaleUpdatePages(
|
|
newScale, newValue, noScroll, preset) {
|
|
newScale, newValue, noScroll, preset) {
|
|
- this._currentScaleValue = newValue;
|
|
|
|
|
|
+ this._currentScaleValue = newValue.toString();
|
|
|
|
|
|
if (isSameScale(this._currentScale, newScale)) {
|
|
if (isSameScale(this._currentScale, newScale)) {
|
|
if (preset) {
|
|
if (preset) {
|