Fix metabox collapsing

This commit is contained in:
Geert De Deckere 2012-06-14 11:36:39 +02:00
parent ff82bb3a26
commit 3a5e2f7f8a
1 changed files with 2 additions and 2 deletions

View File

@ -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;
});