update contact form
This commit is contained in:
parent
f0fda13b16
commit
7c5a451a9a
|
@ -4,9 +4,11 @@
|
|||
document.body.hidden = false;
|
||||
|
||||
function formSubmit() {
|
||||
// to be used for good, not evil
|
||||
var msg = {
|
||||
address: document.querySelector('.js-list-address').value
|
||||
, comment: 'telebit.cloud: ' + (document.querySelector('.js-list-comment').value || '')
|
||||
name: document.querySelector('.js-list-comment').value
|
||||
, address: document.querySelector('.js-list-address').value
|
||||
, list: 'telebit@ppl.family'
|
||||
};
|
||||
|
||||
window.fetch('https://api.ppl.family/api/ppl.family/public/list', {
|
||||
|
|
Loading…
Reference in New Issue