_includes/heatmap.js in jekyll-zeta-0.9.4.1 vs _includes/heatmap.js in jekyll-zeta-0.9.4.2
- old
+ new
@@ -197,10 +197,10 @@
let isFuture = dateKeyYmd > todayYmd;
const dayCell = dayCells[idxOfDay];
if (hideblock) {
dayCell.classList = 'heatmap-day-cell hm-check-notyet'
- } if(isFuture){
+ }else if(isFuture){
dayCell.classList = parseInt(dateKeyYmd.substring(5, 7)) % 2 == 1 ? 'heatmap-day-cell hm-check-future-b' : 'heatmap-day-cell hm-check-future-a'
}
else{
const nobg =