summaryrefslogtreecommitdiffstats
path: root/g4f
diff options
context:
space:
mode:
authorHeiner Lohaus <hlohaus@users.noreply.github.com>2024-04-13 21:05:01 +0200
committerHeiner Lohaus <hlohaus@users.noreply.github.com>2024-04-13 21:05:01 +0200
commitc15242faa02847bc9cdcdd46a12611a73c2bba57 (patch)
treec0cd06510060b183342e1a8a12f0c1c9b6ff5f87 /g4f
parentFix SpeechRecognition on Phone (diff)
downloadgpt4free-c15242faa02847bc9cdcdd46a12611a73c2bba57.tar
gpt4free-c15242faa02847bc9cdcdd46a12611a73c2bba57.tar.gz
gpt4free-c15242faa02847bc9cdcdd46a12611a73c2bba57.tar.bz2
gpt4free-c15242faa02847bc9cdcdd46a12611a73c2bba57.tar.lz
gpt4free-c15242faa02847bc9cdcdd46a12611a73c2bba57.tar.xz
gpt4free-c15242faa02847bc9cdcdd46a12611a73c2bba57.tar.zst
gpt4free-c15242faa02847bc9cdcdd46a12611a73c2bba57.zip
Diffstat (limited to 'g4f')
-rw-r--r--g4f/gui/client/static/js/chat.v1.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/g4f/gui/client/static/js/chat.v1.js b/g4f/gui/client/static/js/chat.v1.js
index e4af281d..5784b05a 100644
--- a/g4f/gui/client/static/js/chat.v1.js
+++ b/g4f/gui/client/static/js/chat.v1.js
@@ -1264,8 +1264,8 @@ if (SpeechRecognition) {
let shouldStop = false;
function may_stop() {
if (microLabel.classList.contains("recognition")) {
- recognition.stop();
shouldStop = true
+ recognition.stop();
}
}