forked from 0x2620/pandora
update indiancinema info view (make color and sound links)
This commit is contained in:
parent
b36f537f45
commit
c170ee113e
1 changed files with 4 additions and 1 deletions
|
@ -522,7 +522,10 @@ pandora.ui.infoView = function(data) {
|
||||||
var ret;
|
var ret;
|
||||||
if (nameKeys.indexOf(key) > -1) {
|
if (nameKeys.indexOf(key) > -1) {
|
||||||
ret = formatLink(value.split(', '), 'name');
|
ret = formatLink(value.split(', '), 'name');
|
||||||
} else if (listKeys.indexOf(key) > -1 || key == 'year') {
|
} else if (
|
||||||
|
listKeys.indexOf(key) > -1
|
||||||
|
|| Ox.contains(['year', 'color', 'sound'], key)
|
||||||
|
) {
|
||||||
ret = formatLink(value.split(', '), key);
|
ret = formatLink(value.split(', '), key);
|
||||||
} else if (key == 'imdbId') {
|
} else if (key == 'imdbId') {
|
||||||
ret = '<a href="http://www.imdb.com/title/tt'
|
ret = '<a href="http://www.imdb.com/title/tt'
|
||||||
|
|
Loading…
Reference in a new issue