add more ignore files
This commit is contained in:
		
							
								
								
									
										2
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							@ -2,3 +2,5 @@
 | 
				
			|||||||
**/c.html
 | 
					**/c.html
 | 
				
			||||||
database.yml
 | 
					database.yml
 | 
				
			||||||
docker/docker-compose.yml
 | 
					docker/docker-compose.yml
 | 
				
			||||||
 | 
					cred.txt
 | 
				
			||||||
 | 
					dist/
 | 
				
			||||||
 | 
				
			|||||||
@ -71,6 +71,11 @@ const processing = document.getElementById("processing-payment");
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
stripe = Stripe(''); // TODO: Publish key to be added
 | 
					stripe = Stripe(''); // TODO: Publish key to be added
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function hidePayButton() {
 | 
				
			||||||
 | 
					    payButton.classList.add("d-none");
 | 
				
			||||||
 | 
					    processing.classList.remove("d-none");
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
function val() {
 | 
					function val() {
 | 
				
			||||||
    let form = document.getElementById("charge_form");
 | 
					    let form = document.getElementById("charge_form");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -81,6 +86,7 @@ function val() {
 | 
				
			|||||||
        return;
 | 
					        return;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    form.classList.add("was-validated");
 | 
					    form.classList.add("was-validated");
 | 
				
			||||||
 | 
					    hidePayButton();
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(function () {
 | 
					(function () {
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user