We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1383118 commit 69dc6e9Copy full SHA for 69dc6e9
1 file changed
jsTimer.js
@@ -74,11 +74,18 @@ function deleteTimer(MouseEvent)
74
{
75
timers.splice(curI, 1);
76
77
- var notification = notificationObjects[cur.id];
78
- if (notification instanceof Notification)
+ try
79
80
- notification.close();
81
- delete notificationObjects[cur.id];
+ var notification = notificationObjects[cur.id];
+ if (notification instanceof Notification)
+ {
82
+ notification.close();
83
+ delete notificationObjects[cur.id];
84
+ }
85
86
+ catch (e)
87
88
+ console.error(e);
89
}
90
91
saveTimers();
0 commit comments