From 6974ff924b30e4b6e88ac4e30b59cda5dea555fa Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sat, 23 Nov 2013 00:22:59 +0100 Subject: [PATCH] Whitespace fixes. --- www/js/remoteglot.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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); } -- 2.39.2