diff --git a/extensions/chromium/preferences_schema.json b/extensions/chromium/preferences_schema.json index e3a3b8d38..49190d6ed 100644 --- a/extensions/chromium/preferences_schema.json +++ b/extensions/chromium/preferences_schema.json @@ -10,7 +10,7 @@ 1, 2 ], - "default": 0 + "default": 2 }, "showPreviousViewOnLoad": { "description": "DEPRECATED. Set viewOnLoad to 1 to disable showing the last page/position on load.", diff --git a/web/app_options.js b/web/app_options.js index cd23a5691..9e152bd4d 100644 --- a/web/app_options.js +++ b/web/app_options.js @@ -177,7 +177,7 @@ const defaultOptions = { }, viewerCssTheme: { /** @type {number} */ - value: 0, + value: typeof PDFJSDev !== "undefined" && PDFJSDev.test("CHROME") ? 2 : 0, kind: OptionKind.VIEWER + OptionKind.PREFERENCE, }, viewOnLoad: {