Skip to content

Commit

Permalink
Reference correct function
Browse files Browse the repository at this point in the history
  • Loading branch information
JHWelch committed Oct 5, 2023
1 parent 8f0c2c1 commit 18de6b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions views/partials/weeks.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
return 'w-1/' + Math.min(week.movies.length, max);
},
movieSizeClasses: function (week) {
const sm = movieSizeClass(week, 2);
const lg = movieSizeClass(week, 3);
const sm = this.movieSizeClass(week, 2);
const lg = this.movieSizeClass(week, 3);
const xl = week.movies.length == 1 ? 'w-full' : 'w-1/3';
const xxl = week.movies.length == 1 ? 'w-full' : 'w-1/4';
Expand Down

0 comments on commit 18de6b7

Please sign in to comment.