From 9439a26fb0f61e6becaa8736fce4bafc61a4ba38 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Mon, 21 Mar 2016 23:52:23 +0100 Subject: [PATCH 1/1] Fix PV walking by click. --- www/js/remoteglot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/js/remoteglot.js b/www/js/remoteglot.js index cff91ce..04bc149 100644 --- a/www/js/remoteglot.js +++ b/www/js/remoteglot.js @@ -1866,7 +1866,7 @@ var onSnapEnd = function(source, target) { if (current_display_line && current_display_move < current_display_line.pretty_pv.length - 1 && - current_display_line.pretty_pv[current_display_move] === move.san) { + current_display_line.pretty_pv[current_display_move + 1] === move.san) { next_move(); return; } -- 2.39.2