Skip to content

Commit

Permalink
send the same sentence to API if speaking multiple times in a row, see
Browse files Browse the repository at this point in the history
  • Loading branch information
klues committed May 31, 2023
1 parent 55403cc commit 086d12e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/service/collectElementService.js
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ function getSpeakTextObject(element, dontIncludeAudio) {
text = i18nService.getTranslation(customSpeakAction.speakText, { forceLang: lang });
}
if (!text) {
text = element.fixedGrammarText || getLabel(element);
text = getLabel(element);
}
return {
text: text
Expand Down

0 comments on commit 086d12e

Please sign in to comment.