]> git.sesse.net Git - remoteglot/blobdiff - www/js/remoteglot.js
Fix a missing var declaration.
[remoteglot] / www / js / remoteglot.js
index f4d37c4039aafb8720deb98fb8ad492a34d86a34..128568aa465253acb4d613d1cf79eb9f6b55264e 100644 (file)
@@ -324,7 +324,7 @@ var update_refutation_lines = function(board) {
        var tbl = $("#refutationlines");
        tbl.empty();
 
        var tbl = $("#refutationlines");
        tbl.empty();
 
-       moves = [];
+       var moves = [];
        for (var move in refutation_lines) {
                moves.push(move);
        }
        for (var move in refutation_lines) {
                moves.push(move);
        }