fix: skip speechsynthesis if not available

This commit is contained in:
Leon van Kammen 2025-04-17 09:32:51 +02:00
parent 5f5c2d94ce
commit bbe1cf10ee
2 changed files with 1 additions and 1 deletions

View file

@ -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

Binary file not shown.