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
|
@ -958,6 +958,7 @@ var Reveal = (function(){
|
|||
|
||||
// Check which implementation is available
|
||||
var requestMethod = element.requestFullScreen ||
|
||||
element.webkitRequestFullscreen ||
|
||||
element.webkitRequestFullScreen ||
|
||||
element.mozRequestFullScreen ||
|
||||
element.msRequestFullScreen;
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue