2
0
mirror of https://git.coolaj86.com/coolaj86/telebit-relay.js.git synced 2025-06-30 23:36:30 +00:00

update contact form

This commit is contained in:
AJ ONeal 2018-09-17 05:38:23 +00:00
parent f0fda13b16
commit 7c5a451a9a

View File

@ -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', {