diff --git a/static/js/pandora/item.js b/static/js/pandora/item.js index cb9aad62..026086e3 100644 --- a/static/js/pandora/item.js +++ b/static/js/pandora/item.js @@ -51,7 +51,10 @@ pandora.ui.item = function() { .css({marginTop: '32px', fontSize: '12px', textAlign: 'center'}) .html( 'Sorry, ' + result.data.title - + ' currently doesn\'t have a ' + + ' currently doesn\'t have ' + + ['a', 'e', 'i', 'o'].indexOf( + pandora.user.ui.itemView.slice(0, 1) + ) > -1 ? 'an': 'a' + ' ' + pandora.user.ui.itemView + ' view.' ) );