From 163273bfd72cd07badc41948f3557a56732bf21d Mon Sep 17 00:00:00 2001 From: muktar1907 Date: Wed, 24 Apr 2024 19:57:47 -0500 Subject: [PATCH] mouse up eventlistener --- html/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/index.html b/html/index.html index 4cf101e..9265c4c 100644 --- a/html/index.html +++ b/html/index.html @@ -273,7 +273,7 @@

Timer: 30 seconds

{ buttonEvent(this.getAttribute("id"),1); }); - cells[i].addEventListener("mouserelease",function() + cells[i].addEventListener("onmouseup",function() { buttonEvent(this.getAttribute("id"),2); });