]> git.sesse.net Git - remoteglot-book/blobdiff - www/js/remoteglot.js
Fix a bug where “next move” would not work.
[remoteglot-book] / 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) {