all none
This commit is contained in:
parent
4a5fb81170
commit
3f844bfe60
|
@ -1108,12 +1108,7 @@ input.addEventListener(
|
||||||
if (prev_val != new_val) {
|
if (prev_val != new_val) {
|
||||||
if (new_val.length > 3) {
|
if (new_val.length > 3) {
|
||||||
var start = 'https://www.fediversesearch.com/search/?keyword=' + new_val
|
var start = 'https://www.fediversesearch.com/search/?keyword=' + new_val
|
||||||
fetch(start, {
|
fetch(start)
|
||||||
method: 'GET',
|
|
||||||
headers: {
|
|
||||||
'content-type': 'application/json',
|
|
||||||
}
|
|
||||||
})
|
|
||||||
.then(function (response) {
|
.then(function (response) {
|
||||||
if (!response.ok) {
|
if (!response.ok) {
|
||||||
response.text().then(function (text) {
|
response.text().then(function (text) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user