Bug 1468991 - Update pdf.js to version 2.0.581. r=bdahl

This commit is contained in:
Ryan VanderMeulen
2018-06-15 12:24:14 -04:00
parent 4954d64515
commit 067b207db8
5 changed files with 14 additions and 20 deletions

View File

@@ -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