Use the newer element.webkitRequestFullscreen method if available, to support all key events in fullscreen mode.
This commit is contained in:
parent
f6f0bd96c8
commit
5736d4ae6e
2 changed files with 3 additions and 2 deletions
|
@ -958,6 +958,7 @@ var Reveal = (function(){
|
||||||
|
|
||||||
// Check which implementation is available
|
// Check which implementation is available
|
||||||
var requestMethod = element.requestFullScreen ||
|
var requestMethod = element.requestFullScreen ||
|
||||||
|
element.webkitRequestFullscreen ||
|
||||||
element.webkitRequestFullScreen ||
|
element.webkitRequestFullScreen ||
|
||||||
element.mozRequestFullScreen ||
|
element.mozRequestFullScreen ||
|
||||||
element.msRequestFullScreen;
|
element.msRequestFullScreen;
|
||||||
|
|
4
js/reveal.min.js
vendored
4
js/reveal.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue