Ticket #42343: 42343.diff
File 42343.diff, 722 bytes (added by , 6 years ago) |
---|
-
src/wp-admin/js/customize-controls.js
1842 1842 if ( ! section.expanded() ) { 1843 1843 section.expand(); 1844 1844 } 1845 section.checkTerm( section );1846 1845 }); 1847 1846 1848 1847 // Feature filters. … … 2208 2207 var newTerm; 2209 2208 if ( 'remote' === section.params.filter_type ) { 2210 2209 newTerm = section.contentContainer.find( '.wp-filter-search' ).val(); 2211 if ( section.term !== newTerm ) {2210 if ( section.term !== newTerm.trim() ) { 2212 2211 section.initializeNewQuery( newTerm, section.tags ); 2213 2212 } 2214 2213 }