Make WordPress Core

Ticket #47534: 47534.patch

File 47534.patch, 555 bytes (added by Mahesh901122, 6 years ago)
  • src/js/_enqueues/wp/customize/widgets.js

     
    194194                        // Clear the search results and trigger a `keyup` event to fire a new search.
    195195                        this.$clearResults.on( 'click', function() {
    196196                                self.$search.val( '' ).focus().trigger( 'keyup' );
     197                                self.collection.doSearch( '' );
    197198                        } );
    198199
    199200                        // Close the panel if the URL in the preview changes