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
@ -416,7 +416,8 @@ var PDFViewerApplication = {
|
|||||||
|
|
||||||
get supportsFullscreen() {
|
get supportsFullscreen() {
|
||||||
//#if MOZCENTRAL
|
//#if MOZCENTRAL
|
||||||
// var support = document.fullscreenEnabled === true;
|
// var support = document.fullscreenEnabled === true ||
|
||||||
|
// document.mozFullScreenEnabled === true;
|
||||||
//#else
|
//#else
|
||||||
var doc = document.documentElement;
|
var doc = document.documentElement;
|
||||||
var support = !!(doc.requestFullscreen || doc.mozRequestFullScreen ||
|
var support = !!(doc.requestFullscreen || doc.mozRequestFullScreen ||
|
||||||
|
Loading…
x
Reference in New Issue
Block a user