first commit
This commit is contained in:
commit
b71ea45681
898 changed files with 138202 additions and 0 deletions
1
static/assets/js/form-input-group.js
Normal file
1
static/assets/js/form-input-group.js
Normal file
|
@ -0,0 +1 @@
|
|||
"use strict";!function(){var n,e,s,t=$(".speech-to-text");t.length&&null!=(n=n||webkitSpeechRecognition)&&(e=new n,s=!1,t.on("click",function(){const t=$(this);!(e.onspeechstart=function(){s=!0})===s&&e.start(),e.onerror=function(n){s=!1},e.onresult=function(n){t.closest(".form-send-message").find(".message-input").val(n.results[0][0].transcript)},e.onspeechend=function(n){s=!1,e.stop()}}))}();
|
Loading…
Add table
Add a link
Reference in a new issue