Skip to content

Commit

Permalink
Fullscreen is not possible without a user gesture, comment link to bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
scheib committed Dec 6, 2012
1 parent 51733d0 commit 642818d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fullscreen/window.js
Expand Up @@ -19,5 +19,7 @@ document.getElementById('exit').addEventListener('click', function(e) {
});

// Attempt fullscreen on window creation.
// It will fail, but hopefully some day it won't:
// http://code.google.com/p/chromium/issues/detail?id=164624
document.body.webkitRequestFullscreen();

0 comments on commit 642818d

Please sign in to comment.