Updated to split at all non-alphanumeric characters, not just space

pull/134/head
ksiegel 10 years ago
parent 1216ffca55
commit a64ea9e14b

@ -53,7 +53,7 @@ $(document).on( 'init.dt.dth', function (e, settings, json) {
// Don't highlight the "not found" row // Don't highlight the "not found" row
if ( table.rows( { filter: 'applied' } ).data().length ) { if ( table.rows( { filter: 'applied' } ).data().length ) {
body.highlight( table.search().split(' ') ); body.highlight( table.search().split(/[^0-9A-Za-z]/) );
} }
} ) } )
.on( 'destroy', function () { .on( 'destroy', function () {

Loading…
Cancel
Save