1
0
mirror of https://github.com/muety/wakapi.git synced 2023-08-10 21:12:56 +03:00

Reverted test-chings

This commit is contained in:
Mawoka 2021-08-29 12:00:51 +02:00
parent 23f8a5cf7f
commit d1577fc6be

View File

@ -61,9 +61,7 @@ String.prototype.toHHMM = function () {
return `${hours}:${minutes}`
}
console.log(wakapiData.projects
.slice(0, Math.min(showTopN[0], wakapiData.projects.length))
.map(p => p.key))
function draw(subselection) {
function getTooltipOptions(key) {
@ -338,9 +336,8 @@ function getPresentDataMask() {
}
function getContainer(chart) {
if ( chart.canvas != undefined) {
return chart.canvas.parentNode
}
// See https://github.com/muety/wakapi/issues/235#issuecomment-907762100
return chart.canvas.parentNode
}
function onChartResize(chart) {