X-Git-Url: https://git.sesse.net/?p=remoteglot;a=blobdiff_plain;f=www%2Fjs%2Fremoteglot.js;h=a37fede21d8d44cd7a821e0946d681662f090eac;hp=ac3f8e97adc6d29a08f92ed4027de9f5dac5e582;hb=7bea925ab1f4de8036939bb6a5a8016492fba872;hpb=80661ee7ca9f379b14dfd660362b05b7c455b7aa diff --git a/www/js/remoteglot.js b/www/js/remoteglot.js index ac3f8e9..a37fede 100644 --- a/www/js/remoteglot.js +++ b/www/js/remoteglot.js @@ -652,7 +652,7 @@ var update_board = function(current_data, display_data) { // The contains a very brief headline. var title_elems = []; if (data['short_score'] !== undefined && data['short_score'] !== null) { - title_elems.push(data['short_score']); + title_elems.push(data['short_score'].replace(/^ /, "")); } if (last_move !== null) { title_elems.push(last_move);