Skip to content

Commit f02538e

Browse files
authored
Update index.js
Correct makeAnimation fucntion
1 parent a8d0626 commit f02538e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ function makeAnimation(key){
5454
var currBtn=document.querySelector("."+key);
5555
currBtn.classList.add("pressed");
5656
setTimeout(function(){
57-
currBtn.remove("pressed");
57+
currBtn.classList.remove("pressed");
5858
},100);
5959
}
6060

0 commit comments

Comments
 (0)