diff --git a/app/static/js/fillword.js b/app/static/js/fillword.js index 3e3fbd9..b573fcf 100644 --- a/app/static/js/fillword.js +++ b/app/static/js/fillword.js @@ -15,6 +15,7 @@ function fillinWord(){ } document.getElementById("text-content").addEventListener("click", fillinWord, false); function read(s){ + reader.cancel(); var msg = new SpeechSynthesisUtterance(s); reader.speak(msg); }