From 6585edd3d0724d492b892c78f6bf9ed0f433f422 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sun, 25 Dec 2022 22:30:26 +0100 Subject: [PATCH] Fix double-forwarding when clicking along a hash-probe line. --- 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 b06a45a..bac1ef9 100644 --- a/www/js/remoteglot.js +++ b/www/js/remoteglot.js @@ -2228,7 +2228,7 @@ let onSnapEnd = function(source, target) { } let line = display_lines[i]; if (line.pv[line.start_display_move_num] === move.san) { - show_line(i, line.start_display_move_num); + show_line(i, 0); return; } } -- 2.39.2