Changeset 45658
- Timestamp:
- 07/18/2019 05:54:10 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/js/_enqueues/wp/customize/widgets.js
r44825 r45658 192 192 } ); 193 193 194 // Clear the search results and trigger a `keyup` event to fire anew search.194 // Clear the search results and trigger a new search. 195 195 this.$clearResults.on( 'click', function() { 196 self.$search.val( '' ).focus().trigger( 'keyup' ); 196 self.$search.val( '' ).focus(); 197 self.collection.doSearch( '' ); 197 198 } ); 198 199
Note: See TracChangeset
for help on using the changeset viewer.