mirror of https://gitlab.crans.org/bde/nk20
Display what is matched in user table (experimental, normalizing is not working)
This commit is contained in:
parent
fd2f426f55
commit
86ff23357c
|
@ -57,6 +57,10 @@
|
|||
window.document.location = $(this).data("href");
|
||||
timer_on = false;
|
||||
});
|
||||
|
||||
$("tr > td:eq(0), tr > td:eq(1), tr > td:eq(2), tr > td:eq(3), tr > td:eq(5)").each(function() {
|
||||
$(this).html($(this).text().replace(new RegExp(searchbar_obj.val(), 'i'), "<mark>$&</mark>"));
|
||||
});
|
||||
}
|
||||
|
||||
init();
|
||||
|
|
Loading…
Reference in New Issue