move original title

This commit is contained in:
rlx 2018-09-12 20:01:56 +02:00
parent a55a95d3b4
commit b9f28003c5

View file

@ -211,7 +211,6 @@ pandora.ui.infoView = function(data) {
$links,
$statistics = $('<div>')
.css({
position: 'absolute',
@ -300,7 +299,7 @@ pandora.ui.infoView = function(data) {
// Groups ------------------------------------------------------------------
renderGroup(['alternativeTitles']);
renderGroup(['originalTitle', 'alternativeTitles']);
renderGroup(['type', 'framework', 'style', 'version']);
@ -580,10 +579,7 @@ pandora.ui.infoView = function(data) {
+ formatLight(match[2])
+ title.substr(match[0].length);
}
return title + (
data.originalTitle && data.originalTitle != title && data.originalTitle != 'untitled'
? ' ' + formatLight('(' + data.originalTitle + ')') : ''
);
return title;
}
function formatValue(key, value) {