title
This commit is contained in:
parent
dc0f8fda4d
commit
5bcb7fa8b0
1 changed files with 5 additions and 0 deletions
5
static/js/getItemTitle.amp.js
Normal file
5
static/js/getItemTitle.amp.js
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
'use strict';
|
||||||
|
|
||||||
|
pandora.getItemTitle = function(itemData, includeYear) {
|
||||||
|
return (itemData.title || Ox._('Untitled')) + (includeYear && itemData.year ? ' ' + itemData.year : '')
|
||||||
|
};
|
Loading…
Reference in a new issue