Omnibus commited on
Commit
268d559
1 Parent(s): 82adc9e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -43,8 +43,9 @@ var gameOver = false;
43
  var scoreText;
44
 
45
  const game = new Phaser.Game(config);
 
46
 
47
- document.getElementById('demo').appendChild = game
48
 
49
  function preload ()
50
  {
 
43
  var scoreText;
44
 
45
  const game = new Phaser.Game(config);
46
+ const menu = document.querySelector('#demo');
47
 
48
+ menu.appendChild = game
49
 
50
  function preload ()
51
  {