From ca908b205657349a4b3df2f88c560049be67b627 Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Fri, 3 Apr 2015 02:36:36 +0000 Subject: [PATCH] Themes screen: remove extra debounce when searching. Props evansolomon. Fixes #31812. git-svn-id: https://develop.svn.wordpress.org/trunk@31995 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/js/theme.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/js/theme.js b/src/wp-admin/js/theme.js index 3a9a5fd30a..2cf5f770ad 100644 --- a/src/wp-admin/js/theme.js +++ b/src/wp-admin/js/theme.js @@ -1289,7 +1289,7 @@ themes.view.InstallerSearch = themes.view.Search.extend({ event.target.value = ''; } - _.debounce( _.bind( this.doSearch, this ), 300 )( event.target.value ); + this.doSearch( event.target.value ); }, doSearch: _.debounce( function( value ) {