From: Steinar H. Gunderson Date: Sun, 20 Mar 2016 20:24:23 +0000 (+0100) Subject: Don't invoke hash probes for positions that are merely historic. X-Git-Url: https://git.sesse.net/?p=remoteglot;a=commitdiff_plain;h=272187dee8ebf3bf7052a632406546bbf65f84cc;hp=61e966c98cd7649a60bbf30efb40eebc1702f14a Don't invoke hash probes for positions that are merely historic. --- diff --git a/www/js/remoteglot.js b/www/js/remoteglot.js index 1472afd..62f10d7 100644 --- a/www/js/remoteglot.js +++ b/www/js/remoteglot.js @@ -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);