Skip to content

Commit

Permalink
no pembroke no pickup
Browse files Browse the repository at this point in the history
  • Loading branch information
TomConner committed Nov 22, 2023
1 parent 0b37757 commit 8f01f3d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion generator/content/register/stripe-payment.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ document.addEventListener('DOMContentLoaded', async () => {

function validateAddress() {
const address = JSON.parse(getLocalItem("address"));
if (address.address.city != "Pembroke".toLowerCase()) {
if (!(address.address.city.toLowerCase() === "Pembroke".toLowerCase())) {
showAddressMessage("Sorry, we can only pick up trees from Pembroke.");
return false;
}
Expand Down
4 changes: 2 additions & 2 deletions generator/static/css/stripe-base.css
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ fieldset, input, select {
}

.validation-message {
color: rgb(53, 6, 20);
font-size:0.7em;
color: rgb(170 20 20);
font-size:0.8em;
font-weight: bold;
}
/**** TABS ****/
Expand Down

0 comments on commit 8f01f3d

Please sign in to comment.