mirror of
https://github.com/remoteintech/remote-jobs
synced 2025-01-28 12:05:05 +00:00
Display search query and results in the console
This commit is contained in:
parent
4460a4e34a
commit
68a879cad8
1 changed files with 3 additions and 0 deletions
|
@ -64,6 +64,9 @@ function setupSearch() {
|
|||
searchResults.forEach( function( r ) {
|
||||
searchMatches[ +r.ref ] = r;
|
||||
} );
|
||||
if ( window.console && console.log ) {
|
||||
console.log( 'search', { value: searchValue, results: searchResults } );
|
||||
}
|
||||
searchData.textData.forEach( function( company, index ) {
|
||||
var match = searchMatches[ index ];
|
||||
var row = document.getElementById( 'company-row-' + index );
|
||||
|
|
Loading…
Reference in a new issue