From: Steinar H. Gunderson Date: Fri, 22 Nov 2013 23:22:59 +0000 (+0100) Subject: Whitespace fixes. X-Git-Url: https://git.sesse.net/?p=remoteglot;a=commitdiff_plain;h=6974ff924b30e4b6e88ac4e30b59cda5dea555fa;hp=731dad8cbe2455aefe534bddce20fca85abd3d2e Whitespace fixes. --- diff --git a/www/js/remoteglot.js b/www/js/remoteglot.js index 98d9ac4..ecb902f 100644 --- a/www/js/remoteglot.js +++ b/www/js/remoteglot.js @@ -220,7 +220,7 @@ var compare_by_sort_key = function(refutation_lines, a, b) { if (ska > skb) return 1; return 0; }; - + var compare_by_score = function(refutation_lines, a, b) { var sa = parseInt(refutation_lines[b].score_sort_key); var sb = parseInt(refutation_lines[a].score_sort_key); @@ -284,7 +284,7 @@ var print_pv = function(fen, uci_pv, pretty_pv, move_num, toplay, limit) { var move = "" + pretty_pv[0] + ""; pv = move_num + '. … ' + move; toplay = 'W'; - ++i; + ++i; ++move_num; } for ( ; i < pretty_pv.length; ++i) { @@ -416,7 +416,6 @@ var update_board = function(board, data, num_viewers) { stats += ', ' + data.tbhits + ' Nalimov hits'; } } - $("#searchstats").text(stats); }