Don't invoke hash probes for positions that are merely historic.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 20 Mar 2016 20:24:23 +0000 (21:24 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 20 Mar 2016 20:24:23 +0000 (21:24 +0100)
www/js/remoteglot.js

index 1472afd..62f10d7 100644 (file)
@@ -1611,7 +1611,7 @@ var update_displayed_line = function() {
        board.position(hiddenboard.fen());
        if (board.fen() === old_fen) {
                board_is_animating = false;
-       } else {
+       } else if (!current_display_line_is_history) {
                // Fire off a hash request, since we're now off the main position
                // and it just changed.
                explore_hash(display_fen);