Commit 0f094c81 authored by Dominik Klinge's avatar Dominik Klinge Committed by Kevin Wieczorek

Add assets

parent f6cb53a8
......@@ -236,8 +236,10 @@ export let PomodoroTimer = class PomodoroTimer {
closeOnConfirm: false
},
function (isConfirm) {
/*you succeeded so you get the success sound and a success message. good for you! */
if (isConfirm) {
if (sound1)
document.getElementById("success").play();
sweetAlert({
title: "Great job!",
......
......@@ -45,12 +45,14 @@
</audio>
<audio id="bell">
<source src="/audio/Schulgong.mp3" type="audio/mp3">
</audio>
<audio id="failure" preload="auto">
<source src="http://www.myinstants.com/media/sounds/you-have-failed.mp3" type="audio/mp3"/>
<source src="/audio/fail.mp3" type="audio/mp3"/>
</audio>
<!-- <audio id="failure" preload="auto">
......@@ -58,7 +60,7 @@
</audio> -->
<audio id="success" preload="auto">
<source src="http://www.myinstants.com/media/sounds/039-a-victory-fanfare.mp3" type="audio/mp3"/>
<source src="/audio/success.mp3" type="audio/mp3"/>
</audio>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment