diff --git a/static/js/embedInfo.js b/static/js/embedInfo.js index 44a369e4..2b423b33 100644 --- a/static/js/embedInfo.js +++ b/static/js/embedInfo.js @@ -23,6 +23,11 @@ pandora.ui.embedInfo = function() { top: margin + 'px', cursor: 'pointer' }) + .on({ + click: function() { + window.open('/' + item + '/info', '_blank'); + } + }) .appendTo(that); $reflection = Ox.$('
') @@ -60,7 +65,12 @@ pandora.ui.embedInfo = function() { fontSize: '13px', textAlign: 'center' }) - .html(data.title + (data.year ? ' (' + data.year + ')' : '')) + .html(data.title + ( + data.year + ? ' (' + data.year + ')' + : '' + )) .appendTo($text); if (data.director) {