Prevent breakage when moved to header by w3 total cache Closes #3412.
This commit is contained in:
parent
805a9e617c
commit
17da2c0c44
|
@ -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
Loading…
Reference in New Issue