Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Countries.updateProvinceLabel is not a function #18

Open
thomasparsons opened this issue Sep 2, 2017 · 1 comment
Open

Countries.updateProvinceLabel is not a function #18

thomasparsons opened this issue Sep 2, 2017 · 1 comment

Comments

@thomasparsons
Copy link

Hi there,

I get this error Countries.updateProvinceLabel is not a function

seemingly on line 3403

from here:

return _init = function() {
        new Shopify.CountryProvinceSelector("address_country","address_province",{
            hideElement: "address_province_container"
        });
        var e = jQuery("#address_country")
          , t = jQuery("#address_province_label").get(0);
        "undefined" != typeof Countries && (Countries.updateProvinceLabel(e.val(), t),
        e.change(function() {
            Countries.updateProvinceLabel(e.val(), t)
        })),

I assumed it was because I running an old version of jQuery, however the error persists when I upgraded it to 1.7

other than that, everything seems fine - html/liquid wise, it's just failing on load. the code is running, after jquery has been called

@Daaaaad
Copy link

Daaaaad commented Oct 29, 2017

@carolineschnapp Same problem for me ☹️ Can you help ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants