prettier: movetime.js
parent
782a3318fa
commit
484ea2fe30
|
@ -119,9 +119,8 @@ lichess.movetimeChart = function (data, trans, hunter) {
|
||||||
if (event.point) {
|
if (event.point) {
|
||||||
const x = event.point.x;
|
const x = event.point.x;
|
||||||
const p =
|
const p =
|
||||||
this.highcharts.series[
|
this.highcharts.series[(showTotal ? 4 : 0) + (((tree[x] ? tree[x].ply : undefined) || x) % 2)]
|
||||||
(showTotal ? 4 : 0) + (((tree[x] ? tree[x].ply : undefined) || x) % 2)
|
.data[x >> 1];
|
||||||
].data[x >> 1];
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue