Skip to content

Commit 100a97e

Browse files
committed
Fix issue with switching renders on page reload
1 parent aafe609 commit 100a97e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ts/ui/menu/Menu.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1059,7 +1059,7 @@ export class Menu {
10591059
settings.speechRules = `${sre.domain || 'clearspeak'}-${sre.style || 'default'}`;
10601060
}
10611061
if (renderer !== this.defaultSettings.renderer) {
1062-
this.setRenderer(renderer, false);
1062+
this.document.whenReady(() => this.setRenderer(renderer, false));
10631063
}
10641064
});
10651065
}

0 commit comments

Comments
 (0)