Ticket #43333: customizer-menu-search-43333.patch
File customizer-menu-search-43333.patch, 735 bytes (added by , 7 years ago) |
---|
-
customize-nav-menus.js
728 728 $( '#available-menu-items .menu-item-handle.item-added' ).removeClass( 'item-added' ); 729 729 730 730 this.$search.val( '' ); 731 732 // Clear search fields. 733 if ( this.$clearResults.hasClass( 'open' ) ) { 734 this.$clearResults.removeClass( 'open' ); 735 } 736 737 if ( this.$clearResults.hasClass( 'is-visible' ) ) { 738 this.$clearResults.removeClass( 'is-visible' ); 739 } 740 741 if ( this.sectionContent.is(':visible') ) { 742 this.sectionContent.hide(); 743 } 731 744 }, 732 745 733 746 // Add a few keyboard enhancements to the panel.