Merge pull request #425 from marcvangend/master

Use webkitRequestFullscreen if available
This commit is contained in:
Hakim El Hattab 2013-04-24 14:07:15 -07:00
commit e828b572e7
2 changed files with 3 additions and 2 deletions

View File

@ -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

File diff suppressed because one or more lines are too long