Extra param on webkitRequestFullScreen needed

Text input fields in fullscreen mode wouldn't allow alphanum chars. You
need this extra param to make that work OK.
This commit is contained in:
Matt Pass
2012-08-30 18:02:41 +01:00
parent f7e1ce7b50
commit 74534641aa

View File

@@ -1676,7 +1676,7 @@ var ICEcoder = {
document.mozFullScreen ? document.mozCancelFullScreen() : document.body.mozRequestFullScreen();
// Chrome specific
} else if ("undefined" != typeof document.webkitCancelFullScreen) {
document.webkitIsFullScreen ? document.webkitCancelFullScreen() : document.body.webkitRequestFullScreen();
document.webkitIsFullScreen ? document.webkitCancelFullScreen() : document.body.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT);
}
screenIcon.src = screenIcon.src.indexOf("images/full-screen.gif") > -1 ? "images/restored-screen.gif" : "images/full-screen.gif";