Skip to content

Commit 9fa9e05

Browse files
committed
Wrap selected date on click of a year label in global overview
1 parent cad070d commit 9fa9e05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/calendar-heatmap.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ angular.module('g1b.calendar-heatmap', []).
381381
scope.in_transition = true;
382382

383383
// Set selected year to the one clicked on
384-
scope.selected = d;
384+
scope.selected = { date: d };
385385

386386
// Hide tooltip
387387
scope.hideTooltip();

0 commit comments

Comments
 (0)