mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 05:53:33 -07:00
Minor fixes and polyfills
This commit is contained in:
parent
89a72a50cf
commit
feda4a9b67
7 changed files with 44 additions and 43 deletions
|
@ -64,7 +64,7 @@ define(
|
|||
});
|
||||
|
||||
Handlebars.registerHelper('titleWithYear', function () {
|
||||
if (this.title.match(/\s\(\d{4}\)$/)) {
|
||||
if (this.title.endsWith(' ({0})'.format(this.year))) {
|
||||
return this.title;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue