mirror of
http://nostr-git-proxy.forgejo.svc.cluster.local/git/45387ca441053e230b2126802005eb03767ab59d84555e8bac86b6e7def14e27/myadhd
synced 2026-09-23 20:23:10 +00:00
fix: remove duplicate celebrate on all done in now view
This commit is contained in:
parent
1506d98b42
commit
79d8a5d623
1 changed files with 0 additions and 5 deletions
|
|
@ -614,11 +614,6 @@
|
||||||
// Check if there's a next step from breaker
|
// Check if there's a next step from breaker
|
||||||
var b2 = store(breakerKey);
|
var b2 = store(breakerKey);
|
||||||
if (nowData && nowData.fromBreaker && b2) {
|
if (nowData && nowData.fromBreaker && b2) {
|
||||||
var allDone = b2.steps.every(function (s) { return s.done; });
|
|
||||||
if (allDone) {
|
|
||||||
celebrateSound();
|
|
||||||
confetti();
|
|
||||||
}
|
|
||||||
nowShowNext();
|
nowShowNext();
|
||||||
} else {
|
} else {
|
||||||
nowRender();
|
nowRender();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue