]> git.sesse.net Git - remoteglot/blobdiff - www/js/remoteglot.js
Fix double-forwarding when clicking along a hash-probe line.
[remoteglot] / www / js / remoteglot.js
index b06a45ae2d82ff37b720b53087a7ae244da296bf..bac1ef9711cb882dc196c451912bb678c484d180 100644 (file)
@@ -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;
                }
        }