mirror of
				https://gitlab.crans.org/bde/nk20
				synced 2025-11-04 09:12:11 +01:00 
			
		
		
		
	Display what is matched in user table (experimental, normalizing is not working)
This commit is contained in:
		@@ -58,8 +58,10 @@
 | 
			
		||||
                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>"));
 | 
			
		||||
            $("tr").each(function() {
 | 
			
		||||
                $(this).find("td:eq(0), td:eq(1), td:eq(2), td:eq(3), td:eq(5)").each(function() {
 | 
			
		||||
                    $(this).html($(this).text().replace(new RegExp(searchbar_obj.val(), 'i'), "<mark>$&</mark>"));
 | 
			
		||||
                });
 | 
			
		||||
            });
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user