mirror of
https://github.com/He4eT/BadBarSlots.git
synced 2026-05-05 00:17:23 +00:00
SFX added
This commit is contained in:
parent
4dd650782a
commit
f7640ee06b
2 changed files with 7 additions and 0 deletions
|
|
@ -31,9 +31,16 @@
|
|||
|
||||
$('.slot').html(items)
|
||||
|
||||
let sound = new Audio('snd/noize.mp3')
|
||||
let playSound = () => {
|
||||
sound.play()
|
||||
}
|
||||
|
||||
$('.slot').jSlots({
|
||||
number: data.number,
|
||||
spinner : '#playNormal',
|
||||
onStart: playSound,
|
||||
time : 6000,
|
||||
// winnerNumber : 7
|
||||
});
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue