diff --git a/static/js/pandora/infoView.0xdb.js b/static/js/pandora/infoView.0xdb.js index 7289c0d4b..ba8b28c9a 100644 --- a/static/js/pandora/infoView.0xdb.js +++ b/static/js/pandora/infoView.0xdb.js @@ -389,6 +389,37 @@ pandora.ui.infoView = function(data) { ) .appendTo($text); + if (data.connections) { + $div = $('
') + .css(css) + .appendTo($text); + html = []; + [ + 'Edited from', 'Edited into', + 'Features', 'Featured in', + 'Follows', 'Followed by', + 'References', 'Referenced in', + 'Remake of', 'Remade as', + 'Spin off from', 'Spin off', + 'Spoofs', 'Spoofed in' + ].forEach(function(key) { + data.connections[key] && html.push( + formatKey(key) + data.connections[key].map(function(connection) { + return ( + connection.item + ? '' + connection.title + '' + : connection.title + ) + ( + connection.description + ? ' ' + formatLight('(' + connection.description + ')') + : '' + ); + }).join(', ') + ); + }); + $div.html(html.join('; ')); + } + data.releasedate && $('
') .css(css) .html( @@ -424,37 +455,6 @@ pandora.ui.infoView = function(data) { $div.html(html.join('; ')); } - if (data.connections) { - $div = $('
') - .css(css) - .appendTo($text); - html = []; - [ - 'Edited from', 'Edited into', - 'Features', 'Featured in', - 'Follows', 'Followed by', - 'References', 'Referenced in', - 'Remake of', 'Remade as', - 'Spin off from', 'Spin off', - 'Spoofs', 'Spoofed in' - ].forEach(function(key) { - data.connections[key] && html.push( - formatKey(key) + data.connections[key].map(function(connection) { - return ( - connection.item - ? '' + connection.title + '' - : connection.title - ) + ( - connection.description - ? ' ' + formatLight('(' + connection.description + ')') - : '' - ); - }).join(', ') - ); - }); - $div.html(html.join('; ')); - } - ['reviews', 'links'].forEach(function(key) { data[key] && $('
') .css(css)