]> git.sesse.net Git - remoteglot/commitdiff
Fix a bug where “next move” would not work.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 8 Jun 2014 13:05:33 +0000 (15:05 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 8 Jun 2014 13:05:33 +0000 (15:05 +0200)
www/js/remoteglot.js

index d4dad05863d81e79e74e2a368602ef00798c8490..8cffebdeda197c78022ad443fdc2ea73c7fc56e7 100644 (file)
@@ -649,7 +649,7 @@ var next_move = function() {
        ++current_display_move;
        update_displayed_line();
 }
-window['next_move'] = prev_move;
+window['next_move'] = next_move;
 
 var update_displayed_line = function() {
        if (current_display_line === null) {