mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-23 23:05:21 -07:00
Fix cancellation
This commit is contained in:
parent
c607c6c033
commit
6d188b59d2
1 changed files with 1 additions and 3 deletions
|
@ -78,9 +78,7 @@ export default defineComponent({
|
|||
},
|
||||
play() {
|
||||
const self = this;
|
||||
if (this.utterance && this.playing) {
|
||||
speechSynthesis.cancel();
|
||||
}
|
||||
speechSynthesis.cancel();
|
||||
|
||||
const utterance = new SpeechSynthesisUtterance(this.step.text);
|
||||
utterance.onstart = (event) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue