Skip to content

Commit

Permalink
Update index.md
Browse files Browse the repository at this point in the history
Add load event listener to window to match the descriptive text below
  • Loading branch information
anthonyshibitov authored Jul 26, 2023
1 parent 8f1f8de commit dc8e5d6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ Here is a minimalistic template, which we'll be using as a starting point for la
const ctx = canvas.getContext("2d");
}
}
draw();
window.addEventListener("load", draw);
</script>
</body>
</html>
Expand Down

0 comments on commit dc8e5d6

Please sign in to comment.