aboutsummaryrefslogtreecommitdiff
path: root/planed.html
diff options
context:
space:
mode:
Diffstat (limited to 'planed.html')
-rw-r--r--planed.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/planed.html b/planed.html
index fca3d74..5483f0a 100644
--- a/planed.html
+++ b/planed.html
@@ -43,6 +43,8 @@ div.msg {
div.innerHTML += "<div class=\"msg\" id=\"msg" + loglen + "\">" + ev.data + "</div>";
if (loglen > logmax)
document.getElementById("msg" + (loglen - logmax)).remove();
+
+ speechSynthesis.speak(new SpeechSynthesisUtterance(ev.data));
};
function rantime() {