revert r3694, undefined values should not return emtpy string
This commit is contained in:
parent
a7ea1a0c46
commit
9deffcfee2
1 changed files with 2 additions and 2 deletions
|
@ -559,9 +559,9 @@ Ox.formatDimensions <f> Formats valus as dimension
|
||||||
"1,920 × 1,080 px"
|
"1,920 × 1,080 px"
|
||||||
@*/
|
@*/
|
||||||
Ox.formatDimensions = Ox.formatResolution = function(array, string) {
|
Ox.formatDimensions = Ox.formatResolution = function(array, string) {
|
||||||
return array ? array.map(function(value) {
|
return array.map(function(value) {
|
||||||
return Ox.formatNumber(value);
|
return Ox.formatNumber(value);
|
||||||
}).join(' × ') + (string ? ' ' + string : '') : '';
|
}).join(' × ') + (string ? ' ' + string : '');
|
||||||
};
|
};
|
||||||
|
|
||||||
/*@
|
/*@
|
||||||
|
|
Loading…
Reference in a new issue