X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=public%2Fjavascripts%2Fbase_rules.js;h=d63806752f726e2f686b23e7ea2516f293418cd5;hb=5bfb09560aa346d132e829a7c63558407bcc8091;hp=5b0d5d1eb494bf9737e985d24e555a231cd764c1;hpb=aea1443ebf56afb2c507c2830ac6b67b509778bc;p=vchess.git diff --git a/public/javascripts/base_rules.js b/public/javascripts/base_rules.js index 5b0d5d1e..d6380675 100644 --- a/public/javascripts/base_rules.js +++ b/public/javascripts/base_rules.js @@ -1019,7 +1019,7 @@ class ChessRules { // Pawn move let notation = ""; - if (move.vanish.length > 1) + if (move.vanish.length > move.appear.length) { // Capture let startColumn = String.fromCharCode(97 + move.start.y);