Make WordPress Core

Changeset 23536


Ignore:
Timestamp:
02/28/2013 08:50:32 PM (12 years ago)
Author:
nacin
Message:

Imporove a selector targeting taxonomy meta boxes. props SergeyBiryukov. see #22975.

Uses correct patch, reverting [23517].

File:
1 edited

Legend:

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

    r23517 r23536  
    350350        });
    351351
    352         $('#' + taxonomy + 'checklist li.popular-category, #' + taxonomy + 'checklist-pop').on( 'click', 'input[type="checkbox"]', function() {
     352        $('#' + taxonomy + 'checklist, #' + taxonomy + 'checklist-pop').on( 'click', 'input[type="checkbox"]', function() {
    353353            var t = $(this), c = t.is(':checked'), id = t.val();
    354354            if ( id && t.parents('#taxonomy-'+taxonomy).length )
Note: See TracChangeset for help on using the changeset viewer.