Update app.js
This commit is contained in:
parent
957c0869a6
commit
0ffd984040
4
app.js
4
app.js
@ -50,8 +50,8 @@ function vypocitatCas(vojsl) {
|
|||||||
|
|
||||||
function rekniCas2(vojsl, cas) {
|
function rekniCas2(vojsl, cas) {
|
||||||
if (!vojsl) return;
|
if (!vojsl) return;
|
||||||
const disp = vojs.play(`./zvuky/${cas}.mp3`);
|
const disp = vojsl.play(`./zvuky/${cas}.mp3`);
|
||||||
disp.on('finish', () => vojs.play('./zvuky/grg.mp3'));
|
disp.on('finish', () => vojsl.play('./zvuky/grg.mp3'));
|
||||||
|
|
||||||
vypocitatCas(vojsl);
|
vypocitatCas(vojsl);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user