]> git.sesse.net Git - remoteglot/commitdiff
Fix a missing var declaration.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Fri, 22 Nov 2013 01:00:16 +0000 (02:00 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Fri, 22 Nov 2013 01:00:16 +0000 (02:00 +0100)
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);
        }