From: Steinar H. Gunderson Date: Sun, 25 Dec 2022 21:30:26 +0000 (+0100) Subject: Fix double-forwarding when clicking along a hash-probe line. X-Git-Url: https://git.sesse.net/?p=remoteglot;a=commitdiff_plain;h=6585edd3d0724d492b892c78f6bf9ed0f433f422 Fix double-forwarding when clicking along a hash-probe line. --- 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; } }