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:
parent
23f8a5cf7f
commit
d1577fc6be
@ -61,9 +61,7 @@ String.prototype.toHHMM = function () {
|
|||||||
return `${hours}:${minutes}`
|
return `${hours}:${minutes}`
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(wakapiData.projects
|
|
||||||
.slice(0, Math.min(showTopN[0], wakapiData.projects.length))
|
|
||||||
.map(p => p.key))
|
|
||||||
|
|
||||||
function draw(subselection) {
|
function draw(subselection) {
|
||||||
function getTooltipOptions(key) {
|
function getTooltipOptions(key) {
|
||||||
@ -338,10 +336,9 @@ function getPresentDataMask() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function getContainer(chart) {
|
function getContainer(chart) {
|
||||||
if ( chart.canvas != undefined) {
|
// See https://github.com/muety/wakapi/issues/235#issuecomment-907762100
|
||||||
return chart.canvas.parentNode
|
return chart.canvas.parentNode
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
function onChartResize(chart) {
|
function onChartResize(chart) {
|
||||||
let container = getContainer(chart)
|
let container = getContainer(chart)
|
||||||
|
Loading…
Reference in New Issue
Block a user