Skip to content

Commit

Permalink
Wrap selected date on click of year label in global overview
Browse files Browse the repository at this point in the history
  • Loading branch information
g1eb committed Dec 13, 2017
1 parent d2cd2d2 commit 067a166
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/calendar-heatmap.js
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ var calendarHeatmap = {
calendarHeatmap.in_transition = true;

// Set selected year to the one clicked on
calendarHeatmap.selected = d;
calendarHeatmap.selected = { date: d };

// Hide tooltip
calendarHeatmap.hideTooltip();
Expand Down

0 comments on commit 067a166

Please sign in to comment.