Skip to content

Commit

Permalink
fix piper not automatically moving to next page
Browse files Browse the repository at this point in the history
  • Loading branch information
ken107 committed Nov 25, 2024
1 parent 53077cb commit 50e03f3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion js/speech.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,11 @@ function Speech(texts, options) {
}
break
case "end":
cmd$.next({name: "forward"})
if (piperState) {
cmd$.complete()
} else {
cmd$.next({name: "forward"})
}
break
}
},
Expand Down

0 comments on commit 50e03f3

Please sign in to comment.