Fixed indent, and added mousedown for meow audio
This commit is contained in:
@@ -133,9 +133,10 @@ playBtn.onmousedown = () => {
|
||||
);
|
||||
};
|
||||
|
||||
catImg.addEventListener("mouseover", () => {
|
||||
// Cat audio sound function
|
||||
catImg.onmousedown = () => {
|
||||
meowAudio.play();
|
||||
});
|
||||
};
|
||||
|
||||
playBtn.onclick = () => {
|
||||
if (isPlaying) {
|
||||
|
Reference in New Issue
Block a user