This commit is contained in:
Histmy 2020-11-13 20:03:36 +01:00
parent d4242db625
commit a3da404bbb

3
app.js
View File

@ -51,9 +51,6 @@ function vypocitatCas(vojsl) {
function rekniCas2(vojsl, cas) {
if (!vojsl) return;
const disp = vojsl.play(`./zvuky/${cas}.mp3`);
disp.on('finish', () => vojsl.play('./zvuky/grg.mp3'));
const d1 = vojsl.play(`./zvuky/intro.mp3`);
d1.on('finish', function () {
const d2 = vojsl.play(`./zvuky/${cas}.mp3`);