Skip to content

Commit

Permalink
Merge pull request #505 from chesslablab/issue/504-The-play_rav-comma…
Browse files Browse the repository at this point in the history
…nd-is-not-returning-any-output

Fetch the variant from the URL
  • Loading branch information
programarivm authored Oct 14, 2024
2 parents 759fecb + cee4096 commit dce3f65
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions assets/js/iframes/annotations/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ try {
const url = window.location.href.split('/');

annotationsWebSocket.send('/play_rav', {
variant: url[6],
fen: decodeURIComponent(url[7]),
movetext: decodeURIComponent(url[8]),
startPos: url[9]
Expand Down

0 comments on commit dce3f65

Please sign in to comment.