Skip to content

Commit

Permalink
Accomodate for another song chance
Browse files Browse the repository at this point in the history
  • Loading branch information
megastary authored Jan 9, 2025
1 parent d07d04e commit fc570a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/javascripts/kiosk_shop.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function submitFromModal(ctx, keepShopping) {
// On page load start timer, play background music and make product card clickable
document.addEventListener('DOMContentLoaded', function () {
var shopInterval
const randomNumber = Math.floor(Math.random() * 11)
const randomNumber = Math.floor(Math.random() * 12)
const backgroundMusic = new Audio(
`/audio/${randomNumber}_kiosk_shop_theme.mp3`
)
Expand Down

0 comments on commit fc570a7

Please sign in to comment.