Skip to content

Commit

Permalink
edit
Browse files Browse the repository at this point in the history
  • Loading branch information
muktar1907 committed Apr 25, 2024
1 parent a7ecd70 commit 4b2c191
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -277,9 +277,10 @@ <h2>Timer: <span id="timer">30</span> seconds</h2>
{
buttonEvent(this.getAttribute("id"),1);
});
cells[i].addEventListener("onmouseup",function()
cells[i].addEventListener("mouseup",function()
{
buttonEvent(this.getAttribute("id"),2);
document.getElementById(this.getAttribute("id")).style.backgroundColor="blue";
});
cells[i].addEventListener("mouseout",function()
{
Expand Down

0 comments on commit 4b2c191

Please sign in to comment.