Prevent breakage when moved to header by w3 total cache Closes #3412.

This commit is contained in:
Mike Jolley 2013-07-23 11:49:16 +01:00
parent 805a9e617c
commit 17da2c0c44
2 changed files with 6 additions and 4 deletions

View File

@ -399,7 +399,9 @@
return $form;
};
$('form.variations_form').wc_variation_form();
$('form.variations_form .variations select').change();
$(function() {
$('form.variations_form').wc_variation_form();
$('form.variations_form .variations select').change();
});
})( jQuery, window, document );
})( jQuery, window, document );

File diff suppressed because one or more lines are too long