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:
parent
26e9b7f8ff
commit
447c9accb8
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user