Skip to content

Commit

Permalink
Fixed Shopify country and state select
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsnkr committed Nov 25, 2019
1 parent a4c5b91 commit 1507867
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/inject/shopify.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ window.onload = function () {
fillField(id, fields[id]);
});

fillField('checkout_shipping_address_country', profile.country, true);
fillField('checkout_shipping_address_province', profile.state, true);
fillField('#checkout_shipping_address_country', profile.country, true);
fillField('#checkout_shipping_address_province', profile.state, true);

fillField('checkout_billing_address_country', profile.country, true);
fillField('checkout_billing_address_province', profile.state, true);
fillField('#checkout_billing_address_country', profile.country, true);
fillField('#checkout_billing_address_province', profile.state, true);

console.log(hasCaptcha());

Expand Down

0 comments on commit 1507867

Please sign in to comment.