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

git-svn-id: http://svn.automattic.com/wordpress/trunk@7290 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
matt 2008-03-14 08:43:00 +00:00
parent b1fd49fc2c
commit f85b8d6eb8
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) {