Skip to content

Commit

Permalink
Wrap selected date on click of a 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 cad070d commit 9fa9e05
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 @@ -381,7 +381,7 @@ angular.module('g1b.calendar-heatmap', []).
scope.in_transition = true;

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

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

0 comments on commit 9fa9e05

Please sign in to comment.