diff --git a/source/Ox/js/Format.js b/source/Ox/js/Format.js index 77a66378..b55485a4 100644 --- a/source/Ox/js/Format.js +++ b/source/Ox/js/Format.js @@ -559,9 +559,9 @@ Ox.formatDimensions Formats valus as dimension "1,920 × 1,080 px" @*/ Ox.formatDimensions = Ox.formatResolution = function(array, string) { - return array.map(function(value) { + return array ? array.map(function(value) { return Ox.formatNumber(value); - }).join(' × ') + (string ? ' ' + string : ''); + }).join(' × ') + (string ? ' ' + string : '') : ''; }; /*@