Skip to content

Commit

Permalink
Merge pull request #45 from jnd-au/master
Browse files Browse the repository at this point in the history
Fix loss of htmlClass (e.g. highlight) for graph rects with zero scale
  • Loading branch information
wa0x6e committed Oct 8, 2013
2 parents ba9958b + 6cd8323 commit afeb27b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cal-heatmap.js
Expand Up @@ -1070,7 +1070,7 @@ var CalHeatMap = function() {
var htmlClass = self.getHighlightClassName(d.t);

if (self.legendScale === null) {
htmlClass = " graph-rect";
htmlClass += " graph-rect";
}

if (d.v !== null) {
Expand Down

0 comments on commit afeb27b

Please sign in to comment.