fixes
This commit is contained in:
parent
d4242db625
commit
a3da404bbb
3
app.js
3
app.js
@ -51,9 +51,6 @@ function vypocitatCas(vojsl) {
|
|||||||
|
|
||||||
function rekniCas2(vojsl, cas) {
|
function rekniCas2(vojsl, cas) {
|
||||||
if (!vojsl) return;
|
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`);
|
const d1 = vojsl.play(`./zvuky/intro.mp3`);
|
||||||
d1.on('finish', function () {
|
d1.on('finish', function () {
|
||||||
const d2 = vojsl.play(`./zvuky/${cas}.mp3`);
|
const d2 = vojsl.play(`./zvuky/${cas}.mp3`);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user