Renderer: Ellipsis plug-in was overwriting any pre-exisiting renderers!

pull/236/head
Allan Jardine 9 years ago
parent 57a3d80321
commit d51fc04b42

@ -45,8 +45,7 @@
* } );
*/
jQuery.fn.dataTable.render = {
ellipsis: function ( cutoff, wordbreak ) {
jQuery.fn.dataTable.render.ellipsis = function ( cutoff, wordbreak ) {
return {
display: function ( d ) {
if ( wordbreak === undefined ) {
@ -73,5 +72,4 @@ jQuery.fn.dataTable.render = {
return '<span class="ellipsis" title="'+d+'">'+str+'&#8230;</span>';
}
};
}
};
Loading…
Cancel
Save