Skip to content

Commit

Permalink
Bugfix for 'item(...).replace is not a function'
Browse files Browse the repository at this point in the history
  • Loading branch information
mkanet committed Apr 5, 2024
1 parent fec5b55 commit 316c268
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.5.2
0.5.3
2 changes: 1 addition & 1 deletion upcoming-media-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@ class UpcomingMediaCard extends HTMLElement {
$genres: item("genres") || null,
$number: item("number") || null,
$rating: item("rating") || null,
$release: item("release").replace("$date", format_date(item("airdate"), dateform)).replace("$year", format_date(item("airdate"), "yy")).replace(" $time", "  $time") || null,
$release: (item("release") || '').replace("$date", format_date(item("airdate"), dateform)).replace("$year", format_date(item("airdate"), "yy")).replace(" $time", "  $time") || null,
$studio: item("studio") || null,
$price: item("price") || null,
$album: item("album") || null,
Expand Down

0 comments on commit 316c268

Please sign in to comment.