Permalink
Browse files

add webkit api for keyboard input in fullscreen

  • Loading branch information...
1 parent 69dd0dd commit 81711e103d690bbe17e859ffa1524b126a5d408a @kripken committed May 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/library_browser.js
View
2 src/library_browser.js
@@ -101,7 +101,7 @@ mergeInto(LibraryManager.library, {
canvas.requestFullScreen = canvas['requestFullScreen'] ||
canvas['mozRequestFullScreen'] ||
- canvas['webkitRequestFullScreen'];
+ (canvas['webkitRequestFullScreen'] ? function() { canvas['webkitRequestFullScreen'](Element['ALLOW_KEYBOARD_INPUT']) } : null);
canvas.requestFullScreen();
},

0 comments on commit 81711e1

Please sign in to comment.