From 0eb99b2effcf7a2698e386fb2db729021f594a14 Mon Sep 17 00:00:00 2001 From: Alf Eaton Date: Mon, 16 May 2022 10:42:16 +0100 Subject: [PATCH] Switch pdf.js default version to 213 (#7952) GitOrigin-RevId: 476c37c14e665ecc07394a0fadebca5b79487d78 --- .../frontend/js/features/pdf-preview/util/pdf-js-versions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/frontend/js/features/pdf-preview/util/pdf-js-versions.js b/services/web/frontend/js/features/pdf-preview/util/pdf-js-versions.js index 911f4a2683..0399302434 100644 --- a/services/web/frontend/js/features/pdf-preview/util/pdf-js-versions.js +++ b/services/web/frontend/js/features/pdf-preview/util/pdf-js-versions.js @@ -49,10 +49,10 @@ async function importPDFJS() { switch (variant) { case '213': + case 'default': return importPDFJS213() case '210': - case 'default': return importPDFJS210() } }