From ebce3d2df9d7d75384d8ee42494ca5da2410c878 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Fri, 12 Feb 2021 17:09:30 +0100 Subject: [PATCH] Another small display fix. --- www/js/remoteglot.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/www/js/remoteglot.js b/www/js/remoteglot.js index 353d7b1..e7c97e5 100644 --- a/www/js/remoteglot.js +++ b/www/js/remoteglot.js @@ -7,7 +7,7 @@ * @type {Number} * @const * @private */ -var SCRIPT_VERSION = 2021010201; +var SCRIPT_VERSION = 2021021200; /** * The current backend URL. @@ -664,7 +664,8 @@ var add_pv = function(start_fen, pv, move_num, toplay, scores, start_display_mov if (scores !== null && scores.length >= 1 && scores[scores.length - 1].score !== undefined && scores[scores.length - 1].score !== null && - scores[scores.length - 1].score[0] === 'T') { + (scores[scores.length - 1].score[0] === 'T' || + scores[scores.length - 1].score[0] === 't')) { splicepos = scores[scores.length - 1].score[1]; } return print_pv(display_lines.length - 1, splicepos, opt_limit, opt_showlast); -- 2.39.2