fix #1822 (info view: series title sometimes doesn't become a link)
This commit is contained in:
parent
e9afeca13e
commit
140ea896d1
2 changed files with 2 additions and 2 deletions
|
@ -764,7 +764,7 @@ pandora.ui.infoView = function(data) {
|
|||
}
|
||||
|
||||
function formatTitle(title) {
|
||||
var match = /(.+) (\(S\d{2}E\d{2}\))/.exec(title);
|
||||
var match = /(.+) (\(S\d{2}(E\d{2})?\))/.exec(title);
|
||||
if (match) {
|
||||
title = formatValue(match[1], 'title') + ' '
|
||||
+ formatLight(match[2])
|
||||
|
|
|
@ -566,7 +566,7 @@ pandora.ui.infoView = function(data) {
|
|||
}
|
||||
|
||||
function formatTitle(title) {
|
||||
var match = /(.+) (\(S\d{2}E\d{2}\))/.exec(title);
|
||||
var match = /(.+) (\(S\d{2}(E\d{2})?\))/.exec(title);
|
||||
if (match) {
|
||||
title = formatLink(match[1], 'title') + ' '
|
||||
+ formatLight(match[2])
|
||||
|
|
Loading…
Reference in a new issue