fix topic links on pad.ma

This commit is contained in:
j 2014-11-18 14:25:24 +00:00
parent d91fab6935
commit 9c0206b2c4

View file

@ -561,10 +561,9 @@ pandora.ui.infoView = function(data) {
}
function formatLink(key, value, linkValue) {
linkValue = linkValue || value;
return (Ox.isArray(value) ? value : [value]).map(function(value) {
return key
? '<a href="/' + key + '=' + linkValue + '">' + value + '</a>'
? '<a href="/' + key + '=' + (linkValue ? linkValue : value) + '">' + value + '</a>'
: value;
}).join(', ');
}