diff --git a/static/js/documentInfoView.mdr.js b/static/js/documentInfoView.mdr.js index 4cdeaba..7923a7d 100644 --- a/static/js/documentInfoView.mdr.js +++ b/static/js/documentInfoView.mdr.js @@ -427,14 +427,14 @@ pandora.ui.documentInfoView = function(data, isMixed) { ret = pandora.formatDate(value); } else if (nameKeys.indexOf(key) > -1) { ret = formatLink(value.split(', '), key); - } else if (listKeys.indexOf(key) > -1) { - ret = formatLink(value.split(', '), key); - } else if (['type', 'publisher', 'format', 'source'].indexOf(key) > -1) { - ret = formatLink(value, key); } else if (key == 'links') { ret = value.split(', ').map(function(link) { return '' + Ox.parseURL(link).host + ''; }).join(', '); + } else if (listKeys.indexOf(key) > -1) { + ret = formatLink(value.split(', '), key); + } else if (['type', 'publisher', 'format', 'source'].indexOf(key) > -1) { + ret = formatLink(value, key); } else { if (isMixed[key]) { ret = 'Mixed'