Remove code to try to go full screen
This commit is contained in:
parent
b5d821519b
commit
6ff067a70d
2
cat.html
2
cat.html
|
@ -1022,6 +1022,7 @@ var game = {
|
|||
document.body.insertBefore(this.canvas, document.body.childNodes[0]);
|
||||
|
||||
// try to go full screen?
|
||||
/*
|
||||
var body = document.documentElement;
|
||||
if (body.requestFullscreen) {
|
||||
body.requestFullscreen();
|
||||
|
@ -1032,6 +1033,7 @@ var game = {
|
|||
} else if (body.msrequestFullscreen) {
|
||||
body.msrequestFullscreen();
|
||||
}
|
||||
*/
|
||||
|
||||
this.resize();
|
||||
|
||||
|
|
Loading…
Reference in New Issue