Skip to content

Commit

Permalink
Trying click to fix focus
Browse files Browse the repository at this point in the history
  • Loading branch information
bmingles committed Nov 22, 2023
1 parent 66ea5b6 commit 94902bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/Game.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ export function Game() {

if (state.autoProgress && state.status !== 'unanswered') {
const timeout = setTimeout(() => {
onNext()
// onNext()
document.querySelector<HTMLButtonElement>('button.round')?.click()
}, 1500)

onCleanup(() => clearTimeout(timeout))
Expand Down

0 comments on commit 94902bb

Please sign in to comment.