From 17eded90655754c439d6ca67ed422683ef6ba7a9 Mon Sep 17 00:00:00 2001 From: Yury Delendik Date: Thu, 27 Mar 2014 10:50:42 -0500 Subject: [PATCH] Partially reverts #3641 --- web/viewer.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/web/viewer.js b/web/viewer.js index 3e127c4c5..cc1cb1ca8 100644 --- a/web/viewer.js +++ b/web/viewer.js @@ -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 '' tags. - support = false; } Object.defineProperty(this, 'supportsFullscreen', { value: support,