Update assets/js/admin/quick-edit.js
Co-authored-by: jonathansadowski <jonathansadowski@users.noreply.github.com>
This commit is contained in:
parent
b991b4c511
commit
23be34d43b
|
@ -57,7 +57,7 @@ jQuery(
|
|||
'select[name="_visibility"] option, ' +
|
||||
'select[name="_stock_status"] option, ' +
|
||||
'select[name="_backorders"] option'
|
||||
).removeAttr( 'selected' );
|
||||
).prop( 'selected', false ).removeAttr( 'selected' );
|
||||
|
||||
var is_variable_product = 'variable' === product_type;
|
||||
$( 'select[name="_stock_status"] ~ .wc-quick-edit-warning', '.inline-edit-row' ).toggle( is_variable_product );
|
||||
|
|
Loading…
Reference in New Issue