WordPress.org

Make WordPress Core

Changeset 23517


Ignore:
Timestamp:
02/28/13 18:03:18 (5 years ago)
Author:
nacin
Message:

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

File:
1 edited

Legend:

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

    r23444 r23517  
    350350        }); 
    351351 
    352         $('#' + taxonomy + 'checklist, #' + taxonomy + 'checklist-pop').on( 'click', 'li.popular-category input[type="checkbox"], input[type="checkbox"]', function() { 
     352        $('#' + taxonomy + 'checklist li.popular-category, #' + 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.