From 6f6ae45314e4f9876ab4fa9b9ba50e0c6a5e8371 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Fri, 14 Nov 2014 19:15:53 +0100 Subject: [PATCH] Fix (null) in . --- www/js/remoteglot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/js/remoteglot.js b/www/js/remoteglot.js index 570484c..3bff1ff 100644 --- a/www/js/remoteglot.js +++ b/www/js/remoteglot.js @@ -601,7 +601,7 @@ var update_board = function(data, num_viewers) { if (data['score'] !== null) { $("#score").text(data['score']); } - if (data['short_score'] !== undefined) { + if (data['short_score'] !== undefined && data['short_score'] !== null) { document.title = '(' + data['short_score'] + ') analysis.sesse.net'; } else { document.title = 'analysis.sesse.net'; -- 2.39.2