moved initial change event trigger

This commit is contained in:
Mike Jolley 2012-04-11 21:07:57 +01:00
parent a9cf0e340b
commit ccc82590eb
2 changed files with 5 additions and 3 deletions

View File

@ -258,7 +258,7 @@ jQuery(document).ready(function($) {
$('body').delay(200).trigger('country_to_state_changing', [country, $(this).closest('div')]);
}).change();
});
/* Tabs */
$('div.woocommerce_tabs .panel').hide();
@ -292,7 +292,6 @@ jQuery(document).ready(function($) {
});
// Variations
$('.reset_variations').click(function(){
$('.variations select').val('').change();
return false;
@ -791,5 +790,8 @@ jQuery(document).ready(function($) {
}
// Get this show on the road - update locale when loaded
$('select.country_to_state').change();
});

File diff suppressed because one or more lines are too long