diff --git a/source/Ox.UI/js/List/Ox.IconItem.js b/source/Ox.UI/js/List/Ox.IconItem.js index e6ffa385..496719d3 100644 --- a/source/Ox.UI/js/List/Ox.IconItem.js +++ b/source/Ox.UI/js/List/Ox.IconItem.js @@ -135,7 +135,7 @@ Ox.IconItem = function(options, self) { function formatText(text, maxLines, maxLength) { var lines = Ox.wordwrap(text, maxLength, '
', true, false).split('
'); - return lines.map(function(line, i) { + return Ox.map(lines, function(line, i) { if (i < maxLines - 1) { return line; } else if (i == maxLines - 1) {