Skip to content

Commit

Permalink
fix demo
Browse files Browse the repository at this point in the history
  • Loading branch information
panaC committed Aug 31, 2024
1 parent c9fcfad commit 55e98e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ const content = () => html`
</div>
<p>Text :</p>
<input type="text" id="text-to-read" class="txt" .value=${textToReadFormated} @input=${(e) => textToRead = e.target.value ? e.target.value : textToRead}></input>
<input type="text" id="text-to-read" class="txt" .value=${textToReadFormated} @input=${(e) => textToReadFormated = e.target.value ? e.target.value : textToReadFormated}></input>
<div class="controls">
<button id="read-button" @click=${selectedVoice ? readTextWithSelectedVoice : undefined}>Read aloud</button>
Expand Down

0 comments on commit 55e98e6

Please sign in to comment.