From 741e838ed7aeed6762bdfa680f50a10dbf7a28bc Mon Sep 17 00:00:00 2001 From: fustyles <34397289+fustyles@users.noreply.github.com> Date: Mon, 9 Oct 2023 15:56:42 +0800 Subject: [PATCH] Update speechrecognition.js --- SpBlocklyJS/SpeechRecognition_20220729/speechrecognition.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/SpBlocklyJS/SpeechRecognition_20220729/speechrecognition.js b/SpBlocklyJS/SpeechRecognition_20220729/speechrecognition.js index a3ef71d47a..7535dbaa86 100644 --- a/SpBlocklyJS/SpeechRecognition_20220729/speechrecognition.js +++ b/SpBlocklyJS/SpeechRecognition_20220729/speechrecognition.js @@ -54,7 +54,6 @@ if ('webkitSpeechRecognition' in window) { Recognition_final = linebreak(final_transcript); document.getElementById("gamespan_recognition").innerHTML = Recognition_final; if (typeof SpeechRecognition_interim === 'object' && SpeechRecognition_interim !== null) { - console.log(SpeechRecognition_interim.tagName.toLowerCase()); if (SpeechRecognition_interim.tagName.toLowerCase()=="input"||SpeechRecognition_interim.tagName.toLowerCase()=="textarea") SpeechRecognition_interim.value = Recognition_final; else @@ -65,7 +64,6 @@ if ('webkitSpeechRecognition' in window) { else { Recognition_final = ""; document.getElementById("gamespan_recognition").innerHTML = Recognition_interim; - console.log(SpeechRecognition_interim.tagName.toLowerCase()); if (SpeechRecognition_interim.tagName.toLowerCase()=="input"||SpeechRecognition_interim.tagName.toLowerCase()=="textarea") SpeechRecognition_interim.value = Recognition_interim; else