Skip to content

Commit

Permalink
Remove extra getElementById
Browse files Browse the repository at this point in the history
  • Loading branch information
skejeton authored Jul 11, 2024
1 parent 622fe4d commit ac27be2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion etc/playground.html
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,6 @@ <h1>Tophat playground</h1>
outputArea.value = "";
}

var canvas = document.getElementById('canvas')
canvas.addEventListener("click", (e) => {
window.focus();
canvas.focus();
Expand Down

0 comments on commit ac27be2

Please sign in to comment.