Another small display fix.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Fri, 12 Feb 2021 16:09:30 +0000 (17:09 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Fri, 12 Feb 2021 16:09:30 +0000 (17:09 +0100)
www/js/remoteglot.js

index 353d7b14b7dc6136b6650c8390b5a5e7ed94852c..e7c97e54736b4fda6049e677757983dd2cdf4e9a 100644 (file)
@@ -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);