{"action":"closed","issue":{"url":"https://api.github.com/repos/woothemes/woocommerce/issues/8255","labels_url":"https://api.github.com/repos/woothemes/woocommerce/issues/8255/labels{/name}","comments_url":"https://api.github.com/repos/woothemes/woocommerce/issues/8255/comments","events_url":"https://api.github.com/repos/woothemes/woocommerce/issues/8255/events","html_url":"https://github.com/woothemes/woocommerce/issues/8255","id":82768208,"number":8255,"title":"closest('div') in country-select.js","user":{"login":"cdukes","id":2324082,"avatar_url":"https://avatars.githubusercontent.com/u/2324082?v=3","gravatar_id":"","url":"https://api.github.com/users/cdukes","html_url":"https://github.com/cdukes","followers_url":"https://api.github.com/users/cdukes/followers","following_url":"https://api.github.com/users/cdukes/following{/other_user}","gists_url":"https://api.github.com/users/cdukes/gists{/gist_id}","starred_url":"https://api.github.com/users/cdukes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdukes/subscriptions","organizations_url":"https://api.github.com/users/cdukes/orgs","repos_url":"https://api.github.com/users/cdukes/repos","events_url":"https://api.github.com/users/cdukes/events{/privacy}","received_events_url":"https://api.github.com/users/cdukes/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-30T09:58:55Z","updated_at":"2015-06-01T09:50:24Z","closed_at":"2015-06-01T09:50:24Z","body":"Searching for the closest div in https://github.com/woothemes/woocommerce/blob/master/assets/js/frontend/country-select.js breaks state/province replacement when using a select form element replacement (like uniform.js)\r\n\r\nThis was a tricky issue to hunt down, and maybe it would be better to use a more descriptive selector here? `.woocommerce-billing-fields, .woocommerce-shipping-fields` are included in the standard templates, make it clear at a glance what the code is doing, and are unlikely to be overwritten/interrupted."}}