]> git.sesse.net Git - remoteglot/blobdiff - www/js/remoteglot.js
Fix some more TB short-form issues.
[remoteglot] / www / js / remoteglot.js
index e7c97e54736b4fda6049e677757983dd2cdf4e9a..37f5c7bd1b61a034e56e9471fc4cd74f074be7ce 100644 (file)
@@ -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') ? '-' : '';