Skip to content

Commit

Permalink
Fix variation links now working when linking to root level moves
Browse files Browse the repository at this point in the history
  • Loading branch information
anoek committed Dec 22, 2023
1 parent eafa7f0 commit 19ae775
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/Game/GameChat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,7 @@ function MarkupChatLine({ line }: { line: ChatLine }): JSX.Element {
} else {
orig_marks = null;
}
if (moves) {
if (moves || moves === "") {
goban.engine.followPath(parseInt(turn as any), moves);
}

Expand Down

0 comments on commit 19ae775

Please sign in to comment.