X-Git-Url: https://git.sesse.net/?p=remoteglot;a=blobdiff_plain;f=www%2Fjs%2Fremoteglot.js;h=e7c97e54736b4fda6049e677757983dd2cdf4e9a;hp=353d7b14b7dc6136b6650c8390b5a5e7ed94852c;hb=ebce3d2df9d7d75384d8ee42494ca5da2410c878;hpb=2aa91cd2fb004acb50be5668556c5f6b79dd0b9c 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);