fallback to empty string not undefined
This commit is contained in:
parent
614beae48e
commit
0d70326aa8
1 changed files with 1 additions and 1 deletions
|
@ -1165,7 +1165,7 @@ pandora.formatDocumentKey = function(key, data, size) {
|
||||||
value.css({width: size * 0.75 + 'px'});
|
value.css({width: size * 0.75 + 'px'});
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
value = data[key.id];
|
value = data[key.id] || '';
|
||||||
if (key.id == 'extension') {
|
if (key.id == 'extension') {
|
||||||
value = value.toUpperCase();
|
value = value.toUpperCase();
|
||||||
} else if (key.id == 'dimensions') {
|
} else if (key.id == 'dimensions') {
|
||||||
|
|
Loading…
Reference in a new issue