diff --git a/src/views/HomePage.vue b/src/views/HomePage.vue index ea7e4dc..a0da7d7 100644 --- a/src/views/HomePage.vue +++ b/src/views/HomePage.vue @@ -28,10 +28,12 @@ export default { if(counter >= 4){ var quack = new Audio(require('@/assets/sounds/duck-quack.mp3')); quack.play(); + alert('You just got quacked!'); counter = 0; + } else { + alert('Nothing to scroll down to, may come useful later though..'); + counter++; } - alert('Nothing to scroll down to, may come useful later though..'); - counter++; } } }