WordPress.org

Make WordPress Core

Changeset 7290


Ignore:
Timestamp:
03/14/08 08:43:00 (6 years ago)
Author:
matt
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/js/postbox.js

    r6761 r7290  
    11function add_postbox_toggles(page) { 
    22    jQuery('.postbox h3').prepend('<a class="togbox">+</a> '); 
    3     jQuery('.togbox').click( function() { jQuery(jQuery(this).parent().parent().get(0)).toggleClass('closed'); save_postboxes_state(page); } ); 
     3    jQuery('.postbox h3').click( function() { jQuery(jQuery(this).parent().get(0)).toggleClass('closed'); save_postboxes_state(page); } ); 
    44} 
    55 
Note: See TracChangeset for help on using the changeset viewer.