diff --git a/src/render/PlayerButton.tsx b/src/render/PlayerButton.tsx index 6b4a53b6..69caff47 100644 --- a/src/render/PlayerButton.tsx +++ b/src/render/PlayerButton.tsx @@ -82,6 +82,7 @@ export class PlayerButton { controlsContainer.prepend(this.container); // wait a tick for React to render the buttons + await waitFor(() => document.getElementById("startSegmentButton"), 5000, 10); await waitFor(() => document.getElementById("infoButton"), 5000, 10); this.playerButtons = { startSegment: {