mirror of
https://github.com/milk-net/milk-net.github.io.git
synced 2025-04-19 21:53:40 -05:00
Update script.js
This commit is contained in:
parent
afeb043b42
commit
1d37ff53d3
1 changed files with 6 additions and 6 deletions
|
@ -9,12 +9,12 @@ function formatTime(ms) {
|
|||
|
||||
function getRandomAlarmSound() {
|
||||
const sounds = [
|
||||
'alarm.mp3',
|
||||
'alarm2.mp3',
|
||||
'alarm3.mp3',
|
||||
'alarm4.mp3',
|
||||
'alarm5.mp3',
|
||||
'alarm6.mp3'
|
||||
'alarm.wav',
|
||||
'alarm2.wav',
|
||||
'alarm3.wav',
|
||||
'alarm4.wav',
|
||||
'alarm5.wav',
|
||||
'alarm6.wav'
|
||||
];
|
||||
const randomIndex = Math.floor(Math.random() * sounds.length);
|
||||
return sounds[randomIndex];
|
||||
|
|
Loading…
Add table
Reference in a new issue