Skip to content

Commit ced1cfe

Browse files
committed
Run the scattergl hover loop forward in the else branch
1 parent e17e5a1 commit ced1cfe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/traces/scattergl/hover.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ function hoverPoints(pointData, xval, yval, hovermode) {
8585
}
8686
}
8787
} else {
88-
for(i = ids.length - 1; i > -1; i--) {
88+
for(i = 0; i < ids.length; i++) {
8989
k = ids[i];
9090
ptx = x[k];
9191
pty = y[k];

0 commit comments

Comments
 (0)