]> git.sesse.net Git - remoteglot/commitdiff
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 1472afded1aae3caf90176cb3c4d29826c7e9751..62f10d705ff9ee6d951513aa6b735ccf7bbc1003 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);