From 23be34d43bf0bbe053f3c29c006ec766aa45fb6b Mon Sep 17 00:00:00 2001 From: Roy Ho Date: Fri, 30 Jul 2021 17:19:29 +0100 Subject: [PATCH] Update assets/js/admin/quick-edit.js Co-authored-by: jonathansadowski --- assets/js/admin/quick-edit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/admin/quick-edit.js b/assets/js/admin/quick-edit.js index 30ec8d699ea..3982e91ad36 100644 --- a/assets/js/admin/quick-edit.js +++ b/assets/js/admin/quick-edit.js @@ -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 );