diff --git a/source/Ox.UI/js/List/IconItem.js b/source/Ox.UI/js/List/IconItem.js index cb930c55..c72b652e 100644 --- a/source/Ox.UI/js/List/IconItem.js +++ b/source/Ox.UI/js/List/IconItem.js @@ -158,7 +158,7 @@ Ox.IconItem = function(options, self) { function formatText(text, maxLines, maxLength) { text = Ox.isArray(text) ? text.join(', ') : text; - var lines = Ox.wordwrap(text, maxLength, '\n', true, false).split('\n'); + var lines = Ox.wordwrap(text, maxLength, true).split('\n'); // if the text has too many lines, replace the last line with the // truncated rest (including the last line) and discard all extra lines if (lines.length > maxLines) {