Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
dramdani authored Jun 24, 2024
1 parent df6019d commit bbdbcb2
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -253,5 +253,16 @@
}

</script>
<script type='text/javascript'>
document.addEventListener('click', function(e) {
if (e.target.id == "canvas") {
// Clicked on canvas
FocusCanvas("0");
} else {
// Clicked outside of canvas
FocusCanvas("0");
}
});
</script>
</body>
</html>

0 comments on commit bbdbcb2

Please sign in to comment.