indiancinema info view: only display wiki id (not full URL)

This commit is contained in:
rolux 2013-03-09 07:27:14 +05:30
parent 9e79b85786
commit d19e4bd799

View file

@ -258,7 +258,8 @@ pandora.ui.infoView = function(data) {
$links $links
.append(formatKey('wiki')) .append(formatKey('wiki'))
.append( .append(
'<a href="' + data.wiki + '">' + decodeURI(data.wiki) + '</a>' '<a href="' + data.wiki + '">'
+ decodeURI(data.wiki.split('/').pop()) + '</a>'
); );
} }
$links.appendTo($text); $links.appendTo($text);