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