From 3d271978beb6b4d129d025db7c2cda7f5069835b Mon Sep 17 00:00:00 2001 From: "Davide P. Cervone" Date: Wed, 2 Jul 2025 10:41:00 -0400 Subject: [PATCH] Don't try to create the clearspeak menu if enrichment is disabled --- ts/a11y/speech/SpeechMenu.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/a11y/speech/SpeechMenu.ts b/ts/a11y/speech/SpeechMenu.ts index 466abb42f..97663197d 100644 --- a/ts/a11y/speech/SpeechMenu.ts +++ b/ts/a11y/speech/SpeechMenu.ts @@ -243,7 +243,7 @@ export async function clearspeakMenu( ) ); }; - if (!menu.settings.speech) { + if (!menu.settings.speech || !menu.settings.enrich) { exit([]); return; }