Update deprecated jQuery functions for country-select.js
This commit is contained in:
parent
b23d218a37
commit
a5409a8ca1
|
@ -65,7 +65,7 @@ jQuery( function( $ ) {
|
|||
|
||||
$( this )
|
||||
.on( 'select2:select', function() {
|
||||
$( this ).focus(); // Maintain focus after select https://github.com/select2/select2/issues/4384
|
||||
$( this ).trigger( 'focus' ); // Maintain focus after select https://github.com/select2/select2/issues/4384
|
||||
} )
|
||||
.selectWoo( select2_args );
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue