Skip to content

Commit

Permalink
fix: don't show doing/living in the future
Browse files Browse the repository at this point in the history
  • Loading branch information
ginatrapani committed Jan 25, 2025
1 parent 8b2ad55 commit aacf3fe
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions _layouts/life-in-weeks.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,12 @@
$( ".week" ).each(function( index ) {
if (today < Date.parse($( this ).attr('data-date'))) {
$( this ).addClass('future-date');
$( this ).attr('title', '');
$( this ).children().remove();
$( this ).children('.collapsed').remove();
}
});
$( ".birthday" ).each(function( index ) {
if (today < Date.parse($( this ).attr('data-date'))) {
$( this ).addClass('future-date');
$( this ).attr('title', '');
}
});
})
Expand Down

0 comments on commit aacf3fe

Please sign in to comment.