Skip to content

Commit

Permalink
Refresh.js: a redondant function replaced by a var; a comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
BrRoman committed Jan 9, 2024
1 parent 1f93890 commit f721fa6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions static/js/refresh.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function refresh_ordo(year) {

// Title:
content = content.concat(
'<div class="title text-center orange w-100">Ordo ' + first_sunday_of_advent.getFullYear() + '-<span id="year">' + (first_sunday_of_advent.getFullYear() + 1) + '</span></div>'
'<div class="title text-center orange w-100">Ordo ' + year + '-<span id="year">' + (first_sunday_of_advent.getFullYear() + 1) + '</span></div>'
);

// Liturgical cycle:
Expand All @@ -28,7 +28,7 @@ function refresh_ordo(year) {
'<div class="year blue">' + year + '</div>'
);

// Month:
// Month (November or December):
content = content.concat(
'<div class="month green">' + month_human_readable(month) + '</div>'
);
Expand Down

0 comments on commit f721fa6

Please sign in to comment.