Add parameter to control the amount of highlighted output.
This commit is contained in:
parent
842a5e712b
commit
e35fafb18e
3 changed files with 49 additions and 15 deletions
|
@ -74,7 +74,7 @@ function _codigoparallevar_enable_search_box(selector, options) {
|
|||
lastVal = val;
|
||||
resultsBox.classList.add('loading');
|
||||
|
||||
const uri = SEARCH_ENDPOINT + '?q=' + encodeURIComponent(val);
|
||||
const uri = SEARCH_ENDPOINT + '?q=' + encodeURIComponent(val) + '&body=snippet';
|
||||
let query = fetch(uri);
|
||||
currentQuery = query;
|
||||
query
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue