mirror of
https://github.com/SillyTavern/Extension-Speech-Recognition.git
synced 2026-10-15 21:42:08 +00:00
[PR #4] [MERGED] fixed: error speechRecognitionList.addFromString is not a function #14
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
SillyTavern/Extension-Speech-Recognition#14
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/SillyTavern/Extension-Speech-Recognition/pull/4
Author: @aisu-wata0
Created: 4/10/2024
Status: ✅ Merged
Merged: 4/10/2024
Merged by: @Cohee1207
Base:
main← Head:speechRecognitionList-fix📝 Commits (2)
2c9e216fixed: error speechRecognitionList.addFromString is not a functionc9379b6chore: made it more compatible📊 Changes
1 file changed (+6 additions, -2 deletions)
View changed files
📝
browser.js(+6 -2)📄 Description
When
speechRecognitionSettings.grammaris defined, it tries to add it tospeechRecognitionListHowever,
speechRecognitionList(window.webkitSpeechGrammarList) is a constructor, so it's used properly nowto reproduce:
define custom grammar (so that it enters the code block that was changed)
at line 134
enable browser recognition

reload page
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.