Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix due to API change

  • Loading branch information...
commit 2c03a7c6e35d45c522ae78fbb556e259bee7a77e 1 parent e485735
@sent1nel authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  game-shim.js
View
2  game-shim.js
@@ -108,7 +108,7 @@
getter = (function() {
// These are the functions that match the spec, and should be preferred
if("webkitIsFullScreen" in document) {
- return function() { return webkitRequestFullScreen in document; };
+ return function() { return document.webkitFullscreenEnabled; };
}
if("mozFullScreenEnabled" in document) {
return function() { return document.mozFullScreenEnabled; };
Please sign in to comment.
Something went wrong with that request. Please try again.