diff --git a/services/web/frontend/js/features/pdf-preview/util/pdf-js-wrapper.js b/services/web/frontend/js/features/pdf-preview/util/pdf-js-wrapper.js index 9f4716edea..d482a6b845 100644 --- a/services/web/frontend/js/features/pdf-preview/util/pdf-js-wrapper.js +++ b/services/web/frontend/js/features/pdf-preview/util/pdf-js-wrapper.js @@ -152,6 +152,7 @@ export default class PDFJSWrapper { if ( currentScaleValue === 'auto' || currentScaleValue === 'page-fit' || + currentScaleValue === 'page-height' || currentScaleValue === 'page-width' ) { this.viewer.currentScaleValue = currentScaleValue