X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=www%2Fjs%2Fremoteglot.js;h=20cc1fc6ca661ef9f88f65f2497a8d5e81c6eb2e;hb=a82c2a991cd7d4baafde86b14eba458a04782081;hp=b3b8163f0bd1dca60ca0c495eda7b987c413b0bd;hpb=b4059a786029132eb27769a42ca52eca6d8b44cc;p=remoteglot diff --git a/www/js/remoteglot.js b/www/js/remoteglot.js index b3b8163..20cc1fc 100644 --- a/www/js/remoteglot.js +++ b/www/js/remoteglot.js @@ -1207,7 +1207,7 @@ var update_board = function() { break; } create_arrow(move.from, move.to, '#f66', 6, 20); - last_to = move.from; + last_to = move.to; hiddenboard.move(data['pv'][i + 1]); // To keep continuity. }