Use the newer element.webkitRequestFullscreen method if available, to support all key events in fullscreen mode.

This commit is contained in:
Marc van Gend 2013-04-24 22:31:18 +02:00
parent f6f0bd96c8
commit 5736d4ae6e
2 changed files with 3 additions and 2 deletions

View File

@ -958,6 +958,7 @@ var Reveal = (function(){
// Check which implementation is available
var requestMethod = element.requestFullScreen ||
element.webkitRequestFullscreen ||
element.webkitRequestFullScreen ||
element.mozRequestFullScreen ||
element.msRequestFullScreen;

4
js/reveal.min.js vendored

File diff suppressed because one or more lines are too long