Fix acpl chart select

This commit is contained in:
Benedikt Werner 2021-06-28 16:02:21 +02:00
parent 82d8761dce
commit 39960c323c
No known key found for this signature in database
GPG key ID: 1DBFF0F8E9E121EB

View file

@ -91,7 +91,7 @@ lichess.advantageChart = function (data, trans, el) {
events: { events: {
click: function (event) { click: function (event) {
if (event.point) { if (event.point) {
event.point.select(); event.point.select(true);
lichess.pubsub.emit('analysis.chart.click', event.point.x); lichess.pubsub.emit('analysis.chart.click', event.point.x);
} }
}, },