From f8c7d9bb05d38e91899b0bd81282239f076fbb37 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sat, 13 Feb 2021 18:50:25 +0100 Subject: [PATCH] Fix some more TB short-form issues. --- www/js/remoteglot.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/js/remoteglot.js b/www/js/remoteglot.js index e7c97e5..37f5c7b 100644 --- a/www/js/remoteglot.js +++ b/www/js/remoteglot.js @@ -7,7 +7,7 @@ * @type {Number} * @const * @private */ -var SCRIPT_VERSION = 2021021200; +var SCRIPT_VERSION = 2021021300; /** * The current backend URL. @@ -2130,7 +2130,7 @@ var format_short_score = function(score) { if (score[0] === 'T') { return ret + Math.ceil(score[1] / 2); } else { - return ret + "-" + Math.ceil(-score[1] / 2); + return ret + "-" + Math.ceil(score[1] / 2); } } else if (score[0] === 'M' || score[0] === 'm') { var sign = (score[0] === 'm') ? '-' : ''; -- 2.39.2