Fixed keyboard in full screen when using webkit.

namespaces
Frode Petterson 2013-06-07 19:09:10 +02:00
parent 4f9827f035
commit 152a5f956a
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ H5P.fullScreen = function ($el, obj) {
$el[0].requestFullScreen(); $el[0].requestFullScreen();
} }
else { else {
$el[0][H5P.fullScreenBrowserPrefix + 'RequestFullScreen'](); $el[0][H5P.fullScreenBrowserPrefix + 'RequestFullScreen'](H5P.fullScreenBrowserPrefix === 'webkit' ? Element.ALLOW_KEYBOARD_INPUT : undefined);
} }
$el.add(H5P.$body).addClass('h5p-fullscreen'); $el.add(H5P.$body).addClass('h5p-fullscreen');