diff options
| author | altaf-creator <dev@altafcreator.com> | 2026-01-16 20:39:44 +0800 |
|---|---|---|
| committer | altaf-creator <dev@altafcreator.com> | 2026-01-16 20:39:44 +0800 |
| commit | 3a75c707af613089b41305fb03da6c41ed2c0771 (patch) | |
| tree | 8d79c7eb4e8eab0f5c56c2e32653a81bf9ef79a1 | |
| parent | c029292f58f7917d183f4bda4cb311db336e82a9 (diff) | |
close notif aft interaction
| -rw-r--r-- | backend/__pycache__/notif.cpython-314.pyc | bin | 3607 -> 3576 bytes | |||
| -rw-r--r-- | frontend/sw.js | 2 |
2 files changed, 2 insertions, 0 deletions
diff --git a/backend/__pycache__/notif.cpython-314.pyc b/backend/__pycache__/notif.cpython-314.pyc Binary files differindex d8ed6c1..e05be83 100644 --- a/backend/__pycache__/notif.cpython-314.pyc +++ b/backend/__pycache__/notif.cpython-314.pyc diff --git a/frontend/sw.js b/frontend/sw.js index bd38341..b9fa08d 100644 --- a/frontend/sw.js +++ b/frontend/sw.js @@ -36,7 +36,9 @@ self.addEventListener("notificationclick", (event) => { body: JSON.stringify({id: timerId}), }); clients.openWindow("/timer/"); + event.notification.close(); } else { clients.openWindow("/timer/"); + event.notification.close(); } }); |
