Moved from github
This commit is contained in:
parent
a5de236b8c
commit
225ba506fb
|
@ -28,13 +28,15 @@ export default {
|
||||||
if(counter >= 4){
|
if(counter >= 4){
|
||||||
var quack = new Audio(require('@/assets/sounds/duck-quack.mp3'));
|
var quack = new Audio(require('@/assets/sounds/duck-quack.mp3'));
|
||||||
quack.play();
|
quack.play();
|
||||||
|
alert('You just got quacked!');
|
||||||
counter = 0;
|
counter = 0;
|
||||||
}
|
} else {
|
||||||
alert('Nothing to scroll down to, may come useful later though..');
|
alert('Nothing to scroll down to, may come useful later though..');
|
||||||
counter++;
|
counter++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
var counter = 0;
|
var counter = 0;
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in a new issue