diff --git a/assets/js/admin/write-panels.js b/assets/js/admin/write-panels.js index 209de46ba81..7a08aae63fe 100644 --- a/assets/js/admin/write-panels.js +++ b/assets/js/admin/write-panels.js @@ -580,12 +580,12 @@ jQuery( function($){ // META BOXES jQuery('.expand_all').click(function(){ - jQuery(this).closest('.wc-metaboxes-wrapper').find('.wc-metabox table').show(); + jQuery(this).closest('.wc-metaboxes-wrapper').find('.wc-metabox > table').show(); return false; }); jQuery('.close_all').click(function(){ - jQuery(this).closest('.wc-metaboxes-wrapper').find('.wc-metabox table').hide(); + jQuery(this).closest('.wc-metaboxes-wrapper').find('.wc-metabox > table').hide(); return false; });