Fix - data renderer: Ellipsis renderer was prematurely cutting off words that would actually fit into the available character count

- Thanks @smartcore - http://www.datatables.net/blog/2016-02-26
pull/254/head
Allan Jardine 9 years ago
parent 22776de482
commit f8ba1e9755

@ -68,7 +68,7 @@ jQuery.fn.dataTable.render.ellipsis = function ( cutoff, wordbreak, escapeHtml )
d = d.toString(); // cast numbers d = d.toString(); // cast numbers
if ( d.length < cutoff ) { if ( d.length <= cutoff ) {
return d; return d;
} }

Loading…
Cancel
Save