Update groceryaug.html

master
fapeg 2022-10-27 01:45:00 +02:00 committed by GitHub
parent a0f4885494
commit 6f7af1c3d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -66,6 +66,7 @@
console.log(this.responseText);
var antwort =JSON.parse(this.responseText);
antwort_val = antwort["value"];
if(antwort_val == "undefined"){antwort_val = "Please enter an API key first!";}
document.getElementById('area').value = antwort_val;
}
});