diff --git a/src/App.vue b/src/App.vue index ff637ca..6961341 100644 --- a/src/App.vue +++ b/src/App.vue @@ -40,7 +40,7 @@ watch( // #209: Play sound when a button is pressed addEventListener('click', (event) => { - if (event.target !instanceof HTMLButtonElement) { + if (!(event.target instanceof HTMLButtonElement)) { return } const audio = new Audio('/assets/music/click-btn.mp3')