Themes: Prevent the Themes search field default action after [40572].
Props boonebgorges. Fixes #41803. git-svn-id: https://develop.svn.wordpress.org/trunk@41337 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
5f06aaca1c
commit
849cf3efb7
|
@ -105,7 +105,10 @@ themes.view.Appearance = wp.Backbone.View.extend({
|
|||
view.render();
|
||||
this.searchContainer
|
||||
.append( $.parseHTML( '<label class="screen-reader-text" for="wp-filter-search-input">' + l10n.search + '</label>' ) )
|
||||
.append( view.el );
|
||||
.append( view.el )
|
||||
.on( 'submit', function( event ) {
|
||||
event.preventDefault();
|
||||
});
|
||||
},
|
||||
|
||||
// Checks when the user gets close to the bottom
|
||||
|
|
Loading…
Reference in New Issue