Skip to content

Commit

Permalink
mouse up eventlistener
Browse files Browse the repository at this point in the history
  • Loading branch information
muktar1907 committed Apr 25, 2024
1 parent 01fd783 commit 163273b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ <h2>Timer: <span id="timer">30</span> seconds</h2>
{
buttonEvent(this.getAttribute("id"),1);
});
cells[i].addEventListener("mouserelease",function()
cells[i].addEventListener("onmouseup",function()
{
buttonEvent(this.getAttribute("id"),2);
});
Expand Down

0 comments on commit 163273b

Please sign in to comment.