diff options
| author | Karan Jayachandra <mail@karanjayachandra.com> | 2025-11-11 22:59:59 +0100 |
|---|---|---|
| committer | Karan Jayachandra <mail@karanjayachandra.com> | 2025-11-11 22:59:59 +0100 |
| commit | ca3e550fb59af89a2ddc0e1e0e59a3025edbece7 (patch) | |
| tree | 05ac13709df0c8b6600d375657a4e9f3ce8cf0a4 /timer.js | |
| parent | d23c38e6f2a972a49a5463cc866190e341e2685e (diff) | |
Fixed timer notifications and the title
Diffstat (limited to 'timer.js')
| -rw-r--r-- | timer.js | 11 |
1 files changed, 3 insertions, 8 deletions
@@ -38,16 +38,11 @@ function refreshTimer() { } resetTimer(); const notification = new Notyf({ - duration: 30 * 1000, + duration: 0, position: {x: 'center', y: 'top'}, - types: [{ - type: 'success', - background: 'indianred', - duration: 1000 * 1000, - dismissible: true - }] + dismissible: true, }); - notification.success("Round completed"); + notification.error("Round completed"); } function startTimer(fresh) { |
