Partially reverts #3641
This commit is contained in:
parent
5a13fd1250
commit
17eded9065
@ -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…
Reference in New Issue
Block a user