diff --git a/static/js/pandora/item.js b/static/js/pandora/item.js index 026086e3..68f3267f 100644 --- a/static/js/pandora/item.js +++ b/static/js/pandora/item.js @@ -52,9 +52,9 @@ pandora.ui.item = function() { .html( 'Sorry, ' + result.data.title + ' currently doesn\'t have ' - + ['a', 'e', 'i', 'o'].indexOf( + + (['a', 'e', 'i', 'o'].indexOf( pandora.user.ui.itemView.slice(0, 1) - ) > -1 ? 'an': 'a' + ' ' + ) > -1 ? 'an': 'a') + ' ' + pandora.user.ui.itemView + ' view.' ) );