Skip to content

Commit

Permalink
fill() seems to be duplicate and using different colours the second t…
Browse files Browse the repository at this point in the history
…ime.
  • Loading branch information
AdSchellevis committed Oct 23, 2017
1 parent 6606618 commit eee6584
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/calendar-heatmap.js
Original file line number Diff line number Diff line change
Expand Up @@ -269,11 +269,6 @@ function calendarHeatmap() {
return day.date.toDateString();
});

dayRects.filter(function (d) {
return daysOfChart.indexOf(d.toDateString()) > -1;
}).attr('fill', function (d, i) {
return color(chart.data()[i].count);
});
}

return chart;
Expand Down

0 comments on commit eee6584

Please sign in to comment.