From 5a622048644f962b1030193db784b50871b21525 Mon Sep 17 00:00:00 2001 From: AAAzsf <1536850375@qq.com> Date: Mon, 13 Jun 2022 15:56:58 +0800 Subject: [PATCH] =?UTF-8?q?BugFix407:=20fillword.js=20=E5=9C=A8=E5=88=92?= =?UTF-8?q?=E6=96=B0=E8=AF=8D=E5=90=8E=EF=BC=8C=E4=BC=9A=E7=9B=B4=E6=8E=A5?= =?UTF-8?q?=E5=BC=80=E5=A7=8B=E8=AF=BB=E6=96=B0=E8=AF=8D=EF=BC=88=E4=B9=8B?= =?UTF-8?q?=E5=89=8D=E6=98=AF=E4=BC=9A=E8=AF=BB=E5=AE=8C=E4=B9=8B=E5=89=8D?= =?UTF-8?q?=E5=88=92=E7=9A=84=E8=AF=8D=E5=90=8E=E6=89=8D=E5=BC=80=E5=A7=8B?= =?UTF-8?q?=E8=AF=BB=E6=96=B0=E8=AF=8D=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/static/js/fillword.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/static/js/fillword.js b/app/static/js/fillword.js index 3e3fbd9..0b19de8 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); }