Skip to content

Commit 486c0fd

Browse files
committed
Fix presentation mode not working with correct fullscreen request name
1 parent caf9269 commit 486c0fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mfr/extensions/pdf/static/web/viewer.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1969,8 +1969,8 @@ var PresentationMode = {
19691969
this.container.requestFullscreen();
19701970
} else if (this.container.mozRequestFullScreen) {
19711971
this.container.mozRequestFullScreen();
1972-
} else if (this.container.webkitRequestFullScreen) {
1973-
this.container.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT);
1972+
} else if (this.container.webkitRequestFullscreen) {
1973+
this.container.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT);
19741974
} else if (this.container.msRequestFullscreen) {
19751975
this.container.msRequestFullscreen();
19761976
} else {

0 commit comments

Comments
 (0)