Skip to content

Commit

Permalink
Merge pull request #1 from columbusinteractive/ttf-button-when-unsupp…
Browse files Browse the repository at this point in the history
…orted

tts-buton now hidden if tts is not supported.
  • Loading branch information
benjaminhirsch authored May 5, 2020
2 parents 4c8465e + 3f8a226 commit 201d476
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Resources/Private/Frontend/Partials/Easycaptcha.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@
window.speechSynthesis.speak(utterance);
});
});
} else {
tts_button.style.display = 'none';
}
})();
</script>
Expand Down

0 comments on commit 201d476

Please sign in to comment.