geonames are not unique
This commit is contained in:
parent
46996b0e54
commit
6e876c2b4d
3 changed files with 11 additions and 6 deletions
|
|
@ -241,10 +241,11 @@ pandora.ui.infoView = function(data) {
|
|||
['country', 'year', 'language', 'runtime'].forEach(function(key) {
|
||||
if (data[key]) {
|
||||
html.push(
|
||||
formatKey(key)
|
||||
+ (key == 'runtime'
|
||||
? Math.round(data[key] / 60) + ' min'
|
||||
: formatValue(data[key], key))
|
||||
formatKey(key) + (
|
||||
key != 'runtime' ? formatValue(data[key], key)
|
||||
: data[key] < 60 ? Math.round(data[key]) + ' sec'
|
||||
: Math.round(data[key] / 60) + ' min'
|
||||
)
|
||||
)
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue