Skip to content

Commit

Permalink
Add fullscreen tooltip.
Browse files Browse the repository at this point in the history
  • Loading branch information
emackey committed Dec 23, 2011
1 parent c9f9856 commit ef615c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@

fullscreenButton = document.createElement( 'button' );
fullscreenButton.textContent = 'fullscreen';
fullscreenButton.title = 'Press F11 to enter or leave fullscreen mode';
fullscreenButton.addEventListener( 'click', function ( event ) {

document.body.webkitRequestFullScreen( Element.ALLOW_KEYBOARD_INPUT );
Expand Down

0 comments on commit ef615c8

Please sign in to comment.