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