Auto commit: 2025-11-21T19:13:57.646Z
This commit is contained in:
parent
494f12a424
commit
0aaa47eb72
@ -237,7 +237,7 @@ document.addEventListener('DOMContentLoaded', function () {
|
|||||||
const notificationTitle = `Alarm: ${alarm.label || alarmTime}`;
|
const notificationTitle = `Alarm: ${alarm.label || alarmTime}`;
|
||||||
const notificationBody = 'Time to write your notes. Click here!';
|
const notificationBody = 'Time to write your notes. Click here!';
|
||||||
const bellIcon = '/assets/images/bell.png';
|
const bellIcon = '/assets/images/bell.png';
|
||||||
const alarmSoundSrc = '/assets/sounds/alarm.mp3.ogg';
|
const alarmSoundSrc = '/assets/sounds/alarm.mp3';
|
||||||
|
|
||||||
// Use browser notification if permission is granted
|
// Use browser notification if permission is granted
|
||||||
if ('Notification' in window && Notification.permission === 'granted') {
|
if ('Notification' in window && Notification.permission === 'granted') {
|
||||||
|
|||||||
2151
assets/sounds/alarm.mp3
Normal file
2151
assets/sounds/alarm.mp3
Normal file
File diff suppressed because one or more lines are too long
0
assets/sounds/alarm.mp3.ogg
Normal file
0
assets/sounds/alarm.mp3.ogg
Normal file
Loading…
x
Reference in New Issue
Block a user