diff --git a/static/js/documentInfoView.leftovers.js b/static/js/documentInfoView.leftovers.js index 21bf258..5abc159 100644 --- a/static/js/documentInfoView.leftovers.js +++ b/static/js/documentInfoView.leftovers.js @@ -421,20 +421,22 @@ pandora.ui.documentInfoView = function(data, isMixed) { renderRightsLevel(); // Links - $('
') - .css({marginTop: '16px', marginBottom: '16px', pointer: 'cursor'}) - .append('') - .append( - Ox.Theme.formatColor(null, 'gradient') - .html('View Document') - .css({poiner: 'cursor'}) - .on({ - click: function() { - pandora.UI.set({documentView: 'view'}) - } - }) - ) - .appendTo($statistics); + if (!isMultiple) { + $('
') + .css({marginTop: '16px', marginBottom: '16px', pointer: 'cursor'}) + .append('') + .append( + Ox.Theme.formatColor(null, 'gradient') + .html('View Document') + .css({poiner: 'cursor'}) + .on({ + click: function() { + pandora.UI.set({documentView: 'view'}) + } + }) + ) + .appendTo($statistics); + } function editMetadata(key, value) { if (value != data[key]) {