From: Steinar H. Gunderson Date: Sat, 22 Nov 2014 01:53:01 +0000 (+0100) Subject: In , there is nothing to align, so remove the funny-looking space. X-Git-Url: https://git.sesse.net/?p=remoteglot;a=commitdiff_plain;h=7bea925ab1f4de8036939bb6a5a8016492fba872;hp=80661ee7ca9f379b14dfd660362b05b7c455b7aa;ds=sidebyside In <title>, there is nothing to align, so remove the funny-looking space. --- 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 <title> 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);