X-Git-Url: https://git.sesse.net/?p=remoteglot;a=blobdiff_plain;f=www%2Fjs%2Fremoteglot.js;h=3bff1ffa4d1c22ae489a5b8c698196cec2f522ac;hp=570484c0882e93188d82678ae2f4687fcae58c0c;hb=6f6ae45314e4f9876ab4fa9b9ba50e0c6a5e8371;hpb=ad566e0ccb947e1c2e3e81580edacaf88765701b 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';