mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Merge pull request #7463 from Snuffleupagus/fix-bug-1268749-fallout
Add back moz-specific fullscreen support code for ´MOZCENTRAL` builds (bug 1268749, PR 7273 follow-up)
This commit is contained in:
commit
f082407ab4
1 changed files with 2 additions and 1 deletions
|
@ -416,7 +416,8 @@ var PDFViewerApplication = {
|
|||
|
||||
get supportsFullscreen() {
|
||||
//#if MOZCENTRAL
|
||||
// var support = document.fullscreenEnabled === true;
|
||||
// var support = document.fullscreenEnabled === true ||
|
||||
// document.mozFullScreenEnabled === true;
|
||||
//#else
|
||||
var doc = document.documentElement;
|
||||
var support = !!(doc.requestFullscreen || doc.mozRequestFullScreen ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue