mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-02-08 00:21:11 +01:00
Partially reverts #3641
This commit is contained in:
parent
5a13fd1250
commit
17eded9065
@ -389,10 +389,6 @@ var PDFView = {
|
||||
document.webkitFullscreenEnabled === false ||
|
||||
document.msFullscreenEnabled === 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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user