fix: skip speechsynthesis if not available
This commit is contained in:
parent
5f5c2d94ce
commit
bbe1cf10ee
2 changed files with 1 additions and 1 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
window.speak = async function(str, opts){
|
||||
|
||||
if( !str) return
|
||||
if( !str || typeof window.SpeechSynthesisUtterance == 'undefined' ) return
|
||||
let defaultOpts
|
||||
let term = document.querySelector("[isoterminal]").components.isoterminal.term
|
||||
|
||||
|
|
|
|||
BIN
dist/v86-linux.iso
vendored
BIN
dist/v86-linux.iso
vendored
Binary file not shown.
Loading…
Add table
Reference in a new issue