Skip to content

Commit

Permalink
Fix #128
Browse files Browse the repository at this point in the history
  • Loading branch information
alexis-martel committed Nov 24, 2023
1 parent ef42fbb commit ca83ff6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/compose.js
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ class EditorGrid extends Grid {
parent: infoContainer,
classes: ["oc-builder-clue-list-button"],
action: () => {
this.downClues.push(new PuzzleClue("across", acrossClues));
this.downClues.push(new PuzzleClue("down", downClues));
},
});
new OCButton({
Expand All @@ -345,7 +345,7 @@ class EditorGrid extends Grid {
parent: infoContainer,
classes: ["oc-builder-clue-list-button"],
action: () => {
acrossClues.removeChild(acrossClues.lastChild);
downClues.removeChild(downClues.lastChild);
this.downClues.pop();
},
});
Expand Down

0 comments on commit ca83ff6

Please sign in to comment.