From: Steinar H. Gunderson Date: Fri, 22 Nov 2013 01:00:16 +0000 (+0100) Subject: Fix a missing var declaration. X-Git-Url: https://git.sesse.net/?p=remoteglot;a=commitdiff_plain;h=e7dc2e5b82c4c050fcacc2646e1f79194e0b14d5;hp=423130017a261075410766c4723e0efc25415bb5 Fix a missing var declaration. --- diff --git a/www/js/remoteglot.js b/www/js/remoteglot.js index f4d37c4..128568a 100644 --- a/www/js/remoteglot.js +++ b/www/js/remoteglot.js @@ -324,7 +324,7 @@ var update_refutation_lines = function(board) { var tbl = $("#refutationlines"); tbl.empty(); - moves = []; + var moves = []; for (var move in refutation_lines) { moves.push(move); }