From: Steinar H. Gunderson Date: Tue, 11 Nov 2014 12:53:40 +0000 (+0100) Subject: Unbreak promotion again. X-Git-Url: https://git.sesse.net/?p=remoteglot;a=commitdiff_plain;h=c17cb0c030ad2b4eb8493fbbc6aba34b68afacb6 Unbreak promotion again. --- diff --git a/www/js/remoteglot.js b/www/js/remoteglot.js index a18f93e..e7a0453 100644 --- a/www/js/remoteglot.js +++ b/www/js/remoteglot.js @@ -784,6 +784,7 @@ var update_displayed_line = function() { move = source + "-" + target; hiddenboard.move(move, false); + pos = hiddenboard.position(); // Do promotion if needed. if (promo != "") {