Skip to content

Commit

Permalink
JI-5465 resetAudio upon resetting sentences
Browse files Browse the repository at this point in the history
  • Loading branch information
makmentins committed Sep 19, 2023
1 parent 809a8d5 commit 6b183b0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/scripts/h5p-dictation-sentence.js
Original file line number Diff line number Diff line change
Expand Up @@ -330,9 +330,11 @@ class Sentence {

if (this.buttonPlayNormal) {
this.buttonPlayNormal.reset();
this.buttonPlayNormal.resetAudio();
}
if (this.buttonPlaySlow) {
this.buttonPlaySlow.reset();
this.buttonPlaySlow.resetAudio();
}
}

Expand Down

0 comments on commit 6b183b0

Please sign in to comment.