mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-10 10:15:37 +02:00
Partially reverts #3641
This commit is contained in:
parent
5a13fd1250
commit
17eded9065
1 changed files with 0 additions and 4 deletions
|
@ -389,10 +389,6 @@ var PDFView = {
|
||||||
document.webkitFullscreenEnabled === false ||
|
document.webkitFullscreenEnabled === false ||
|
||||||
document.msFullscreenEnabled === false) {
|
document.msFullscreenEnabled === false) {
|
||||||
support = false;
|
support = false;
|
||||||
} else if (this.isViewerEmbedded) {
|
|
||||||
// Need to check if the viewer is embedded as well, to prevent issues with
|
|
||||||
// presentation mode when the viewer is embedded in '<object>' tags.
|
|
||||||
support = false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Object.defineProperty(this, 'supportsFullscreen', { value: support,
|
Object.defineProperty(this, 'supportsFullscreen', { value: support,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue