Ticket #31812: remove-useless-debounce-and-bind.diff
File remove-useless-debounce-and-bind.diff, 424 bytes (added by , 10 years ago) |
---|
-
wp-admin/js/theme.js
diff --git a/wp-admin/js/theme.js b/wp-admin/js/theme.js index fbd3789..6008bbc 100644
a b themes.view.InstallerSearch = themes.view.Search.extend({ 1270 1270 event.target.value = ''; 1271 1271 } 1272 1272 1273 _.debounce( _.bind( this.doSearch, this ), 300 )( event.target.value );1273 this.doSearch( event.target.value ); 1274 1274 }, 1275 1275 1276 1276 doSearch: _.debounce( function( value ) {