Refactor: Rename "Oscar Pool" to "Pool Oscars" in titles
Co-authored-by: mathieumoran1 <[email protected]>
This commit is contained in:
co-authored by
mathieumoran1
parent
76e9a934d6
commit
0c488319f6
@@ -359,7 +359,7 @@ function setHeader(movie, { activeYear } = {}) {
|
||||
const ratingEl = document.getElementById('movie-rating');
|
||||
|
||||
const year = Number.isInteger(activeYear) ? activeYear : null;
|
||||
const titlePrefix = year ? `Oscar Pool (${year})` : 'Oscar Pool';
|
||||
const titlePrefix = year ? `Pool Oscars (${year})` : 'Pool Oscars';
|
||||
|
||||
if (titleEl) titleEl.textContent = movie?.title || titlePrefix;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user