update css and js deps

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
Nicola Murino
2023-01-07 18:11:46 +01:00
parent 93e5cb36df
commit 6afbd77fd5
19 changed files with 61 additions and 473 deletions

View File

@@ -49,7 +49,7 @@
jQuery.fn.dataTable.render.ellipsis = function ( cutoff, wordbreak, escapeHtml ) {
var esc = function ( t ) {
return t
return ('' + t)
.replace( /&/g, '&amp;' )
.replace( /</g, '&lt;' )
.replace( />/g, '&gt;' )
@@ -63,12 +63,18 @@ jQuery.fn.dataTable.render.ellipsis = function ( cutoff, wordbreak, escapeHtml )
}
if ( typeof d !== 'number' && typeof d !== 'string' ) {
if ( escapeHtml ) {
return esc( d );
}
return d;
}
d = d.toString(); // cast numbers
if ( d.length <= cutoff ) {
if ( escapeHtml ) {
return esc( d );
}
return d;
}