Skip to content

Commit

Permalink
Fix presentation mode not working with correct fullscreen request name
Browse files Browse the repository at this point in the history
  • Loading branch information
darioncassel committed Sep 22, 2016
1 parent caf9269 commit 486c0fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mfr/extensions/pdf/static/web/viewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -1969,8 +1969,8 @@ var PresentationMode = {
this.container.requestFullscreen();
} else if (this.container.mozRequestFullScreen) {
this.container.mozRequestFullScreen();
} else if (this.container.webkitRequestFullScreen) {
this.container.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT);
} else if (this.container.webkitRequestFullscreen) {
this.container.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT);
} else if (this.container.msRequestFullscreen) {
this.container.msRequestFullscreen();
} else {
Expand Down

0 comments on commit 486c0fd

Please sign in to comment.