add more ignore files

This commit is contained in:
vinchent 2024-08-04 16:24:01 +02:00
parent c645154836
commit d1ec41cc47
2 changed files with 8 additions and 0 deletions

2
.gitignore vendored
View File

@ -2,3 +2,5 @@
**/c.html
database.yml
docker/docker-compose.yml
cred.txt
dist/

View File

@ -71,6 +71,11 @@ const processing = document.getElementById("processing-payment");
stripe = Stripe(''); // TODO: Publish key to be added
function hidePayButton() {
payButton.classList.add("d-none");
processing.classList.remove("d-none");
}
function val() {
let form = document.getElementById("charge_form");
@ -81,6 +86,7 @@ function val() {
return;
}
form.classList.add("was-validated");
hidePayButton();
}
(function () {