mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-11-26 09:57:24 +03:00
Update chat.v1.js
This commit is contained in:
parent
eefbdb6d84
commit
5899543ecf
@ -1249,7 +1249,8 @@ function save_storage() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (window.SpeechRecognition) {
|
const SpeechRecognition = window.SpeechRecognition || window.webkitSpeechRecognition;
|
||||||
|
if (SpeechRecognition) {
|
||||||
const mircoIcon = microLabel.querySelector("i");
|
const mircoIcon = microLabel.querySelector("i");
|
||||||
mircoIcon.classList.add("fa-microphone");
|
mircoIcon.classList.add("fa-microphone");
|
||||||
mircoIcon.classList.remove("fa-microphone-slash");
|
mircoIcon.classList.remove("fa-microphone-slash");
|
||||||
|
Loading…
Reference in New Issue
Block a user