Skip to content

Commit

Permalink
swap the onloads
Browse files Browse the repository at this point in the history
  • Loading branch information
NicholasRamos5 committed Jul 10, 2023
1 parent 65c1732 commit 33fab50
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions _notebooks/2023-06-13-Mario.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -811,8 +811,8 @@
"\n",
" const image2 = new Image();\n",
" const imageTube = new Image();\n",
" \n",
" image2.onload = function() {\n",
"\n",
" imageTube.onload = function() {\n",
" const player2 = new Player2();\n",
" const platform2 = new Platform2(image2);\n",
" const tube = new Tube(imageTube);\n",
Expand Down Expand Up @@ -892,7 +892,7 @@
" };\n",
"\n",
" const imageTube = new Image();\n",
" imageTube.onload = function() {\n",
" image2.onload = function() {\n",
" \n",
" imageTube.src = 'https://NicholasRamos5.github.io/VSCodings/images/MarioItems/tube.png';\n",
" };\n",
Expand Down

0 comments on commit 33fab50

Please sign in to comment.