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:
Yury Delendik 2016-07-01 08:09:08 -05:00 committed by GitHub
commit f082407ab4

View File

@ -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 ||