diff options
author | ame <[email protected]> | 2024-09-01 14:38:07 -0500 |
---|---|---|
committer | ame <[email protected]> | 2024-09-01 14:38:07 -0500 |
commit | 9a7be1a1fa772abfc0e5b387642a48db4eb7dda7 (patch) | |
tree | 5dc21aded021f96221eeefbb711f39c7561e0579 /public/board.js | |
parent | ac624cd97ac014d209a732474b5fbde29f889e09 (diff) |
accidental edit
Diffstat (limited to 'public/board.js')
-rw-r--r-- | public/board.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/board.js b/public/board.js index de3953a..7c41edb 100644 --- a/public/board.js +++ b/public/board.js @@ -115,7 +115,7 @@ function handle_move(from_id, to_id) { let passanted_pawn = document.getElementById(`3${en_passant_move}`) while (passanted_pawn.firstChild) { - onclickpassanted_pawn.removeChild(passanted_pawn.firstChild) + passanted_pawn.removeChild(passanted_pawn.firstChild) } } else { let passanted_pawn = document.getElementById(`4${en_passant_move}`) |