]> git.sesse.net Git - remoteglot/blobdiff - www/js/remoteglot.js
Replace Nalimov with Syzygy everywhere.
[remoteglot] / www / js / remoteglot.js
index d4dad05863d81e79e74e2a368602ef00798c8490..e74187307250a5870b7d11a3ed71536796e1c2a1 100644 (file)
@@ -525,9 +525,9 @@ var update_board = function(data, num_viewers) {
                }
                if (data['tbhits'] && data['tbhits'] > 0) {
                        if (data['tbhits'] == 1) {
-                               stats += ', one Nalimov hit';
+                               stats += ', one Syzygy hit';
                        } else {
-                               stats += ', ' + data['tbhits'] + ' Nalimov hits';
+                               stats += ', ' + thousands(data['tbhits']) + ' Syzygy hits';
                        }
                }
 
@@ -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) {