Bug 1468991 - Update pdf.js to version 2.0.581. r=bdahl
This commit is contained in:
@@ -669,9 +669,6 @@ let PDFViewerApplication = {
|
||||
get supportsFullscreen() {
|
||||
let support;
|
||||
support = document.fullscreenEnabled === true || document.mozFullScreenEnabled === true;
|
||||
if (support && _app_options.AppOptions.get('disableFullscreen') === true) {
|
||||
support = false;
|
||||
}
|
||||
return (0, _pdfjsLib.shadow)(this, 'supportsFullscreen', support);
|
||||
},
|
||||
get supportsIntegratedFind() {
|
||||
@@ -3177,10 +3174,6 @@ const defaultOptions = {
|
||||
value: '',
|
||||
kind: OptionKind.VIEWER
|
||||
},
|
||||
disableFullscreen: {
|
||||
value: _viewer_compatibility.viewerCompatibilityParams.disableFullscreen || false,
|
||||
kind: OptionKind.VIEWER
|
||||
},
|
||||
disableHistory: {
|
||||
value: false,
|
||||
kind: OptionKind.VIEWER
|
||||
|
||||
Reference in New Issue
Block a user