From: Steinar H. Gunderson Date: Tue, 22 Mar 2016 18:54:05 +0000 (+0100) Subject: Fix “no score for this move” message when viewing history. X-Git-Url: https://git.sesse.net/?p=remoteglot;a=commitdiff_plain;h=64038487a71aa51ab6906275f3752c5821c4a931 Fix “no score for this move” message when viewing history. --- diff --git a/www/js/remoteglot.js b/www/js/remoteglot.js index 5f0531e..e3b3202 100644 --- a/www/js/remoteglot.js +++ b/www/js/remoteglot.js @@ -1085,7 +1085,7 @@ var update_board = function() { update_clock(); // The score. - if (current_display_line) { + if (current_display_line && !current_display_line_is_history) { if (current_display_line.score) { $("#score").text(format_long_score(current_display_line.score)); } else {