Merge pull request #30374 from woocommerce/fix/30282
Revert the use of prop here as we want to remove the attribute comple…
This commit is contained in:
commit
24c0dd7890
|
@ -57,7 +57,7 @@ jQuery(
|
||||||
'select[name="_visibility"] option, ' +
|
'select[name="_visibility"] option, ' +
|
||||||
'select[name="_stock_status"] option, ' +
|
'select[name="_stock_status"] option, ' +
|
||||||
'select[name="_backorders"] option'
|
'select[name="_backorders"] option'
|
||||||
).prop( 'selected', false );
|
).prop( 'selected', false ).removeAttr( 'selected' );
|
||||||
|
|
||||||
var is_variable_product = 'variable' === product_type;
|
var is_variable_product = 'variable' === product_type;
|
||||||
$( 'select[name="_stock_status"] ~ .wc-quick-edit-warning', '.inline-edit-row' ).toggle( is_variable_product );
|
$( 'select[name="_stock_status"] ~ .wc-quick-edit-warning', '.inline-edit-row' ).toggle( is_variable_product );
|
||||||
|
|
Loading…
Reference in New Issue