aboutsummaryrefslogtreecommitdiffhomepage
path: root/js/reveal.js
diff options
context:
space:
mode:
authorMarc van Gend2013-04-24 22:31:18 +0200
committerMarc van Gend2013-04-24 22:31:18 +0200
commit5736d4ae6efc103343831e6aaf01403b3b18f2b4 (patch)
tree9eb60c8ed1fc9669ead06fa926bbb67d9aa2f051 /js/reveal.js
parentf6f0bd96c83c03c64789c3018990ec5249212c70 (diff)
Use the newer element.webkitRequestFullscreen method if available, to support all key events in fullscreen mode.
Diffstat (limited to 'js/reveal.js')
-rw-r--r--js/reveal.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/reveal.js b/js/reveal.js
index cd53e03..2678e71 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -958,6 +958,7 @@ var Reveal = (function(){
// Check which implementation is available
var requestMethod = element.requestFullScreen ||
+ element.webkitRequestFullscreen ||
element.webkitRequestFullScreen ||
element.mozRequestFullScreen ||
element.msRequestFullScreen;