This commit is contained in:
Jan-Lukas Else 2021-02-18 09:26:55 +01:00
parent a1297e72c1
commit bbf92a7d09
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
let speakButton = query('#speakBtn')
let speech = window.speechSynthesis
if (getVoice()) {
if (speech) {
speakButton.classList.remove('hide')
speakButton.onclick = startSpeak
speakButton.textContent = speakButton.dataset.speak