The whole title box should be clickable to expand or contract. Fixes #6217. Hat tip: azaozz.

git-svn-id: https://develop.svn.wordpress.org/trunk@7290 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2008-03-14 08:43:00 +00:00
parent 26e9b7f8ff
commit 447c9accb8
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
function add_postbox_toggles(page) {
jQuery('.postbox h3').prepend('<a class="togbox">+</a> ');
jQuery('.togbox').click( function() { jQuery(jQuery(this).parent().parent().get(0)).toggleClass('closed'); save_postboxes_state(page); } );
jQuery('.postbox h3').click( function() { jQuery(jQuery(this).parent().get(0)).toggleClass('closed'); save_postboxes_state(page); } );
}
function save_postboxes_state(page) {