Add back code lost in #9314

pull/9322/head
Benedikt Werner 2021-06-30 13:36:27 +02:00
parent e2d433cb6f
commit 6c8e389a16
No known key found for this signature in database
GPG Key ID: 1DBFF0F8E9E121EB
1 changed files with 2 additions and 0 deletions

View File

@ -121,6 +121,8 @@ lichess.movetimeChart = function (data, trans, hunter) {
const p =
this.highcharts.series[(showTotal ? 4 : 0) + (((tree[x] ? tree[x].ply : undefined) || x) % 2)]
.data[x >> 1];
if (p) p.select(true);
lichess.pubsub.emit('analysis.chart.click', x);
}
},
},