We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ddc959 commit 0f20e3aCopy full SHA for 0f20e3a
js/boardui.js
@@ -302,7 +302,7 @@ function RedrawBoard() {
302
g_selectedPiece.style.left = 0;
303
g_selectedPiece.style.top = 0;
304
305
- if (startX != endX && startY != endY && move != null) {
+ if (!(startX == endX && startY == endY) && move != null) {
306
UpdatePgnTextBox(move);
307
308
g_lastMove = move;
0 commit comments