Update dataTables.searchHighlight.js

added split(" ") to allow highlight to work with multiple terms
pull/121/head
keeger 11 years ago
parent 9e710a6743
commit 4b0a1999ff

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

Loading…
Cancel
Save