Remove code to try to go full screen

This commit is contained in:
Rob Pearce 2016-08-27 18:05:42 +10:00
parent b5d821519b
commit 6ff067a70d
1 changed files with 2 additions and 0 deletions

View File

@ -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();