Update search.js
Tweak the comment
This commit is contained in:
parent
54bbbb6a65
commit
e9c0654295
|
@ -29,8 +29,8 @@ $('input.os_typeahead').attr('autocomplete', 'off').typeahead({
|
||||||
// Else we are online
|
// Else we are online
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
// On user click of a search suggestion, add this search to the
|
// On user click of a search suggestion, add this search query to
|
||||||
// query log
|
// the query log and cache
|
||||||
fetch(new Request(window.location.origin + window.location.pathname), {
|
fetch(new Request(window.location.origin + window.location.pathname), {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: { 'Content-type': 'application/json' },
|
headers: { 'Content-type': 'application/json' },
|
||||||
|
|
Loading…
Reference in a new issue