From ca3e550fb59af89a2ddc0e1e0e59a3025edbece7 Mon Sep 17 00:00:00 2001 From: Karan Jayachandra Date: Tue, 11 Nov 2025 22:59:59 +0100 Subject: Fixed timer notifications and the title --- timer.js | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'timer.js') diff --git a/timer.js b/timer.js index 25d4610..2049d0f 100644 --- a/timer.js +++ b/timer.js @@ -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) { -- cgit v1.3.1