Changeset 32004
- Timestamp:
- 04/04/2015 02:13:14 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/js/customize-controls.js
r31975 r32004 641 641 controls = section.controls(); 642 642 643 controls.pop(); // Remove the last control (the add-new control).644 645 643 _.each( controls, function( control ) { 646 644 control.filter( term ); 647 645 }); 648 // Update theme count. Note that the add-theme tile is a div.customize-control. 646 647 // Update theme count. 649 648 count = section.container.find( 'li.customize-control:visible' ).length; 650 649 section.container.find( '.theme-count' ).text( count );
Note: See TracChangeset
for help on using the changeset viewer.