(currentkey)
| 78 | |
| 79 | // To remove animation on key clicked |
| 80 | function buttonAnimation(currentkey) { |
| 81 | var activeButton = document.querySelector("." + currentkey); |
| 82 | activeButton.classList.add("pressed"); |
| 83 | |
| 84 | setTimeout(function () { |
| 85 | activeButton.classList.remove("pressed"); |
| 86 | }, 100); |
| 87 | } |
| 88 | |
| 89 | // to change the theme |
| 90 |