From 7695fce9c4cdd2a5070fb5123177405a3d0c27c7 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Mon, 21 Mar 2016 23:52:32 +0100 Subject: [PATCH] Add a temporary safeguard. --- www/js/remoteglot.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/www/js/remoteglot.js b/www/js/remoteglot.js index 04bc149..21a995e 100644 --- a/www/js/remoteglot.js +++ b/www/js/remoteglot.js @@ -1907,6 +1907,9 @@ var fmt_cp = function(v) { } var format_short_score = function(score) { + if (!score) { + return "???"; + } if (score[0] === 'm') { if (score[2]) { // Is a bound. return score[2] + "\u00a0M" + pad(score[1], 3); -- 2.39.2