Skip to content

Commit

Permalink
edit
Browse files Browse the repository at this point in the history
  • Loading branch information
muktar1907 committed Apr 24, 2024
1 parent ab8f72e commit 20c5e57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -219,11 +219,11 @@ <h1>The Word Search Game</h1>
{
cells[i].addEventListener("click",function()
{
buttonEvent(cells[i].toString(),0);
buttonEvent(this.getAttribute("id"),0);
});
cells[i].addEventListener("mouseover",function()
{
buttonEvent(cells[i].getAttribute("id"),1);
buttonEvent(this.getAttribute("id"),1);
});
}
}
Expand Down

0 comments on commit 20c5e57

Please sign in to comment.